Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 27th, 2012  |  syntax: None  |  size: 0.32 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Find a value after a point or before apoint
  2. Select 23.25 from dual
  3.        
  4. SELECT         FLOOR(23.25) FROM dual
  5. SELECT 23.25 - FLOOR(23.25) FROM dual
  6.        
  7. Select floor(23.25) from dual;
  8.        
  9. Select (23.25 - floor(23.25))*100 from dual;
  10.        
  11. SELECT FLOOR(23.25) FROM dual
  12.        
  13. SELECT FLOOR((23.25 - FLOOR(23.25))*100) FROM DUAL