Converts number to an engineering format, floating-point string at least width characters wide or wider if necessary.

Engineering format is similar to E format (exponential notation), except the exponent is a multiple of three (..., –3, 0, 3, 6, ...). The connector pane displays the default data types for this polymorphic function.


icon

Inputs/Outputs

  • cbool.png use system decimal point (T) —

    use system decimal point defines the decimal separator. If TRUE (default), the decimal separator uses the localized decimal separator. If FALSE, the decimal separator is a period.

  • cdbl.png number —

    number can be a scalar number, array or cluster of numbers, array of clusters of numbers, and so on.

  • ci16.png width (-) —

    width must be numeric. If unwired, the function uses exactly as many digits as are needed to represent the number, with no extra padding.

  • ci16.png precision (6) —

    precision must be numeric. The function rounds the number of digits after the decimal point of the output string to precision.

  • istr.png Engineering string —

    Engineering string is the resulting string.

    The following table shows how the values of number, width, and precision affect Engineering string. In this table, the underline character ( _ ) represents a space in Engineering string.

    numberwidthprecisionEngineering stringComments
    4.93102_ _ _4.93E+0number is rounded, padded with spaces on the left.
    .49102_490.00E-3number is rounded, padded with a space on the left.
    61.9681_62.0E+0number is rounded, padded with a space on the left.
    1789.3282_ 1.79E+3number is rounded, padded with a space on the left.