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

untrunc Operator

 17th June 2019 at 4:33pm
purposerounds a list of numbers to the next integer with largest absolute value, that is, away from zero
inputa selection of titles
outputrounds each of the input numbers to the next integer with largest absolute value, that is, away from zero

Learn more about how to use Filters

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

Tip
This is the inverse operation of trunc: trunc rounds to zero, but untrunc rounds away from zero.

Examples