exist any way to store in database a numbers with or without decimal point? The user can store to database numbers like 10 and 10.1 - for storing numbers in MySQL I use data type column decimal, so for this example, in the database will be stored 10.00 and 10.10.
But I will need to store the exact form of number by user - so in this case 0 10 and 10.1.
Is possible to solve it on database level or I have to edit on application level?