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
RAID1 in MAX OSx
The object invoked has disconnected from its clients.
Get-Eventlog -> Export-CSV long eventmessages -> problem
VBA Excel - selecting Control Toolbox/Image
How do I create a class that handles file I/O for a car rental reservation program?
Dns issue logging onto domain
Trouble setting treeview width
MSiSCSI Timeout - Event ID 103 - 2003 server hanging connected to CX4-120
Quickr..How do I edit the tabs on the home page of my place? I want to add a tab
Using a query to filter a subreport?