Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Clipper Tools One Guide - <b>mantissa()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
MANTISSA()

Syntax:     MANTISSA(<expN>)

Arguments:  <expN> may be any decimal number.

Returns:    A numeric value.
            The mantissa of <expN> will be returned.

Usage:      This function supplements EXPONENT() as it supplies the
            mantissa of a floating point number <expN>.

Notes:      The mantissa can be 0 or can lie within the range of [1,2].

Library:    CT1.LIB


--------------------------------- Example ------------------------------

Examples:   * The following calculation will produce the previous number.
            *
            * MANTISSA(<expN>) * 2  EXPONENT(<expN>) = <expN>
            *
            ? MANTISSA(0)               && Result: 0.00
            ? MANTISSA(100)             && Result: 1.56
            ? MANTISSA(INFINITY())      && Result: 2.00
            ? MANTISSA(0.01)            && Result: 1.28
            ? MANTISSA(-100)            && Result: -1.56
            ? MANTISSA(-0.01)           && Result: -1.28
            ? MANTISSA(-1.01)           && Result: -1.01
            ? MANTISSA(-2.01)           && Result: -1.01



See Also: EXPONENT()

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