Reputation: 1575
How do I convert 0.50 to 50 or 0.1429 to 14.29 in sql query? My data type is real.
Upvotes: 0
Views: 162
Reputation: 15041
You can multiply it by 100. : )
I'm not sure exactly what you are doing, but it's like this:
Select 0.50 *100 as MyNewNumber
or
Select MyColumn *100 as MyNewNumber
Upvotes: 2