Microsoft
Software
Hardware
Network
Question : Convert/Cast
What is the best way to convert the decimal value: 3.500000000 to a money value eg. 35,000,000.00
the data type is stored in the database as decimal(20,6) and then in the qury its multiplied by a value (1.0000 ..this value varies) ...how can i get it to show as a monetary value.
Thanks!
Answer : Convert/Cast
select cast(cast(fieldname as money)*1,0000) as decimal 10,2) from table
you could also try this....
http://www.siccolo.com/Art
icles/SQLS
cripts/how
-to-create
-sql-
to-fo
rmat-curre
ncy.html
Random Solutions
system info via website
Manual sbs03 -> sbs08 Migration
How do you join a Snow Leopard Client to Windows SBS 2008 domain
Adding Columns to ASP.Net Gridview Control
your computer appears to be correctly configured but the device or resource (
www.google.com
) is not responding
Exchange Database will not mount.
Terminal Server Port Forward to Desktop
How to print a dbgrid
calculate age in mysql
Google Apps Gmail and legacy MS Exchange (SBS) 2003 Synchronisation