type conversion - How do I store numbers as varchar in mysql? -
I need to store integers and decimal numbers such as:
9, 1, 10.00, 2, 100.10
For this, I chose Wakarah. But the problem is that I can not implement the maximum () function, because it returns
instead of 100.10 datatap varchar What should I do in this scenario?
Please help !! Thanks!
Use one of the available in MySQL in your case, NUMERIC or DECIMAL or like FLOAT would be appropriate.
Comments
Post a Comment