@wdprlib/ast
    Preparing search index...

    Function formatExprValue

    • Format a numeric expression result for display.

      Uses JavaScript's default String(n) so the full precision of the computed value is preserved (e.g. 1/3 becomes "0.3333333333333333", matching the NumberString conversion rather than truncating to a fixed number of decimals). Used by both the inline renderer and the opener preprocess so the same expression produces the same string regardless of where it appears in the source.

      Parameters

      • n: number

      Returns string