Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide To Clipper - <b>lennum() length of numeric including decimals examplep.prg</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
LenNum()       Length of numeric including decimals    Examplep.prg


Syntax:        LenNum(<expN>)

Argument:      <expN> is a numeric value.

Returns:       A numeric value.

               LenNum() returns the length of <expN> including whole
               number digits, decimal point, and decimal digits.

Note:          LenNum() uses STR() to convert the numeric value to a
               character string in order to determine the length.

Library:       EXTEND.LIB


--------------------------------- Source Code ------------------------------

   FUNCTION LenNum

   PARAMETERS cl_number

   RETURN LEN(LTRIM(STR(cl_number)))


See Also: STR()

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