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

trunc Operator

13 juin 2019 à 8h48
purposetruncates a list of numbers to their integer part, removing any fractional part
inputa selection of titles
outputtruncates each of the input numbers to their integer part, removing any fractional part

Learn more about how to use Filters

Depuis : 5.1.20 See Mathematics Operators for an overview.

The trunc operator rounds towards zero. To round away from zero, use untrunc.

Examples