Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.2 . Sample Reference - <b>num.prg</b> http://www.X-Hacker.org [<<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

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson