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

fixed Operator

11th June 2019 at 3:09pm
purposeconvert each number to fixed point notation with N digits after the decimal point
inputa selection of titles
parameterN=a number
outputthe input as numbers converted to fixed point notation with N digits after the decimal point

Learn more about how to use Filters

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

The fixed operator returns a string representation of the input number that does not use exponential notation and has exactly the specified number of digits after the decimal place. The number is rounded if necessary, and the fractional part is padded with zeros if necessary so that it has the specified length.

Examples