Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Fixed decimal scale

Author  Topic 

iansr
Starting Member

23 Posts

Posted - 2002-03-14 : 21:41:01
Greetings!
how do i fix the scale of my decimal values?
say i have
99.5
99.45
99

i want them to look like:
99.50
99.45
99.00

thanks!

robvolk
Most Valuable Yak

15732 Posts

Posted - 2002-03-14 : 21:52:22
SELECT Convert(decimal(5,2), numColumn) FROM myTable

Go to Top of Page

iansr
Starting Member

23 Posts

Posted - 2002-03-14 : 22:02:23
thanks!

Go to Top of Page
   

- Advertisement -