Documentation moved.
This entry is documented with its primary interface. Open the documentation →
Function
src/index.ts:1021nerdamer.scientific
nerdamer.scientific(x: ExpressionInput, significantDigits: ExpressionInput): ExpressionReturns a copy that renders numeric values in scientific notation. The legacy implementation stored a formatting flag that its formatter did not consume. Nerdamer 2.0 keeps the expression exact and records the requested number of significant digits for formatting. Precision validation follows decimal.js and accepts integer values from 1 through 1e9.
Parameters
| Name | Type | Description |
|---|---|---|
x | ExpressionInput | — |
significantDigits | ExpressionInput | — |
