Link to home
Start Free TrialLog in
Avatar of BlakeMcKenna
BlakeMcKennaFlag for United States of America

asked on

Formatting a decimal value in SQL SERVER 2008

I know SQL Server 2008 doesn't have the "Format" command. Is there a way of truncating zeroes after a decimal point?

Thanks!
Avatar of Jim Horn
Jim Horn
Flag of United States of America image

None that I'm aware of, other than CASTing the value with the appropriate number of decimal places.
Give us a data mockup of what you're trying to pull off here.
ASKER CERTIFIED SOLUTION
Avatar of Vitor Montalvão
Vitor Montalvão
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of BlakeMcKenna

ASKER

Thanks guys...that worked!