• Formats the floating point number n as a string.

    The result has 4 digits after the decimal point and is left-padded with spaces to a width of 10.

    This function is primarily intended for debugging and logging, and is used by the toString() functions in this library

    Parameters

    • n: number

      the number to format

    Returns string

    n formatted as a string

Generated using TypeDoc