DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: simple question

  1. #1
    Join Date
    Apr 2001
    Posts
    17

    Talking

    Hi,

    I have Number like : 1125.26

    Can you help me to syntax return 26 (fractional number).

  2. #2
    Join Date
    Dec 2000
    Location
    Ljubljana, Slovenia
    Posts
    4,439
    SQL> select mod(1125.26, 1)*100 fraction from dual;

    FRACTION
    ---------
    26
    Jurij Modic
    ASCII a stupid question, get a stupid ANSI
    24 hours in a day .... 24 beer in a case .... coincidence?

  3. #3
    Join Date
    Apr 2001
    Posts
    17

    Thumbs up

    Thanks jmodic,
    Good Idea.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width