NAME digits - return number of digits in an integer or integer part SYNOPSIS digits(x) TYPES x real return integer DESCRIPTION For real x, digits(x) returns the number of digits in the decimal representation of int(abs(x)). If x >= 1, digits(x) = 1 + ilog10(x). EXAMPLE > print digits(0), digits(0.0123), digits(3.7), digits(-27), digits(-99.7) 1 1 1 2 2 LIMITS none LIBRARY long qdigits(NUMBER *x) SEE ALSO places