User`s guide
uLn
174 Sybase IQ ETL 4.1
uLn
Description Returns the natural logarithm (base E) of a number.
Syntax number uLn(input);
Parameters
number value
A number to calculate on.
Examples uLn(2.718281828) // returns 0.999999
uLog
Description Returns the logarithm of a number. If the base parameter is omitted, a base of
10 is taken.
Syntax number uLog(value [, base])
Parameters
number value
A number to calculate on.
number base
The base for the logarithm. If omitted, a base of 10 will be used.
Examples uLog(100) // returns 3
uLog(16, 2) // returns 4
uMod
Description Returns the modulo of a division.
Syntax number uMod(value)
Parameters
number value
A number to calculate on.
Examples To calculate the modulo:
uMod(10, 3) // returns 1