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

Popular posts from this blog

sonata admin - how to add ManyToOne property field in configureListfield in sonataAdmin -

wpf - ControlTemplate with changes for every class -

sql - Return Function using Cursor -