Microsoft
Software
Hardware
Network
Question : SQL scrip to extract decimal portion from a value
We need to extract the decimal value from a result; that is where the result is 2.4574, I want to have the decimal value of .4574.to work with. We need this with any result; for example:
result of 5.2584, we need .2584
result of 11.3582, we need .3582
result of 6.9884, we need .9884
result of 0.635, we need .635
In essence, in order to give more infor of what's needed, we need to work with the excess of period of years. For example:
subtract 02/01/2008 from 07/07/2010, and you get 887 days, divide that by 365, you get 2.430136986.
We need to extract and work with the decimal portion of .430136986.
Answer : SQL scrip to extract decimal portion from a value
{value} - round({value},0)
Random Solutions
log4j not writing to file
Tablespace
Can't boot up my XP system to safe mode, why?
paypal mass payment api
Send Mail Using gmail pop3 in VB.Net
Check validity before record is saved or edited on a form
Need a "quiz" application that saves to a database
Excel/csv, move rows to another sheet based on changing value in column
Can't locate DBI.pm in @INC
Ubuntu - Convert Desktop Hard Drive to Laptop? Just ext4 format and copy all files?