Microsoft
Software
Hardware
Network
Question : SQL round decimal
In a large select stmt, on of the columns I am reading from contains a number (double). This column may contain a whole number, or may contain a decimal. Sometimes the decimal is very long.
I am looking to round the decimial to 4, but only when required. If the number is whole or less than 4 decimals I prefer it stay that way.
How would I do this?
I am quering against a DB2 database
Answer : SQL round decimal
Oh I see what you're asking. Does this work?
SELECT (ROUND(MyNumber*10000),0)/
10000
Random Solutions
MS Outlook error - 0x8004010F
stop error oxoooooo7b(OxF78D2524,OxC0
000034 will not load XP setup!!!!!!!
Ubuntu default chat client logs
Check to see if a table has a certain value, MS Access 2003
Cisco 870 Series, Site-to-Site VPN only allowing traffic one way.
Post image file [Binary Data] using HttpWebRequest fails.
What's the meaning of "meta:resourcekey="some_va
lue""?
Dynamic Form Element
simple math programming question
diff between cfgmgr -v and cfgmgr -v fcs0 and fcs1...