| 1. |
How Might You Use Mod And Int On Numeric To Mimic Substr On Character Strings? |
|
Answer» The FIRST argument to the MOD function is a numeric, the second is a non-zero numeric; the result is the remainder when the integer quotient of argument-1 is divided by argument-2. The INT function TAKES only one argument and returns the integer PORTION of an argument, TRUNCATING the decimal portion. Note that the argument can be an expression. The first argument to the MOD function is a numeric, the second is a non-zero numeric; the result is the remainder when the integer quotient of argument-1 is divided by argument-2. The INT function takes only one argument and returns the integer portion of an argument, truncating the decimal portion. Note that the argument can be an expression. |
|