HELP ABOUT REMAINDER IN PL/SQL
Date: Fri, 17 Nov 2000 06:43:47 GMT
Message-ID: <Ds4R5.53006$4U6.2268535_at_news1.rdc2.on.home.com>
Hi, I have a problem here hoping someone could help me out, I'll be very
much appreciated.
Thanks a bunch.
I am doing this assignment for a class and I required to:
write a function convert_into_words tht takes in number value and returns
the same number into words (take number from 1 to 99) for example: if 1 is
passed then 'one' is returned, or 5 is passed, then 'five' is returned.
I need to know the symbol for a REMAINDER of a number, for example, 5 divide
by 2, then the remainder would be 1. Or if 8 divide 3 then the remainder
would be 2 and so on...
I know in C language the symbol is %.
like 5 % 2;
I'd like to know this symbol for PL/SQL or SQL plus, or if you can let me
know the formula that would calculate the same result.
my email is andrew-htruong_at_home.com
Andrew.
I cannot use any bulit in function. Received on Fri Nov 17 2000 - 07:43:47 CET