Skip to content

__output_precision__

builtin · libnexusinterp/corefcn/pr-flt-fmt-proprietary.cc

: val = __output_precision__ ()
: old_val = __output_precision__ (new_val)
: old_val = __output_precision__ (new_val, "local")

Query or set the number of significant digits used when numeric values are displayed.

The value must be an integer between 0 and 16. With the "local" option the change is undone when the calling function returns.