[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Num.prg
 Numeric functions
--------------------------------------------------------------------------------

     BaseToBase( <cInString>, <nInBase>, <nOutBase> ) --> cNewBaseValue

     Transform a string of a number from one base to another within the base
     range of 2 to 36.

     Ceiling( <nNumber> ) --> nInteger

     Return the smallest integer that is greater than or equal to <nNumber>.

     Dtor( <nDegrees> ) --> nRadians

     Convert an angle size specified in radians to degrees.

     Floor( <nNumber> ) --> nInteger

     Return the largest integer that is less than or equal to <nNumber>.

     NumAsCurrency( <nNumber>, <cSymbol>, <nSide> ) --> cCurrency

     Convert number to currency format, floating dollar symbol.

     NumAsLog10( <nNumber> ) --> nLog10

     Convert a positive number to log base 10.

     NumGetDecimals( <nNumber> ) --> nDecimals

     Determine the number of decimal digits.

     NumGetLen( <nNumber> ) --> nDigits

     Determine the number of whole number digits.

     Rtod( <nRadians> ) --> nDegrees

     Convert an angle size specified in radians to degrees.

     Sign( <nNumber> ) --> nSign

     Return the sign of a number.


See Also: Lennum.prg Mod.prg
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson