This page is part of a static HTML representation of the TiddlyWiki at https://tiddlywiki.com/

precision Operator

11th June 2019 at 3:14pm
purposeconvert each number to a string with N significant digits
inputa selection of titles
parameterN=a number
outputthe input as numbers with N significant digits

Learn more about how to use Filters

Introduced in v5.1.20 See Mathematics Operators for an overview.

The precision operator returns a string representation of the input number that has exactly the specified number of significant digits, using whichever is shorter of exponential or fixed notation.

Examples