1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-18 03:19:55 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/filters/precision Operator.tid
2019-06-11 17:18:51 +01:00

18 lines
815 B
Plaintext

caption: precision
created: 20190611150935800
modified: 20190611151434569
op-input: a [[selection of titles|Title Selection]]
op-output: the input as numbers with <<.place N>> significant digits
op-parameter: a number
op-parameter-name: N
op-purpose: convert each number to a string with <<.place N>> significant digits
tags: [[Filter Operators]] [[Mathematics Operators]] [[Binary Mathematics Operators]]
title: precision Operator
type: text/vnd.tiddlywiki
<<.from-version "5.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|exponential Operator]] or [[fixed|fixed Operator]] notation.
<<.operator-examples "precision">>