Template:Val/delimitnum/fraction/doc

< Template:Val‎ | delimitnum‎ | fraction
Revision as of 10:10, 10 January 2011 by Cottrells (talk | contribs) (Created page with '{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === This template is part of {{tl|Val}}. It is used for formatting a…')

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)

Usage

This template is part of {{Val}}. It is used for formatting a positive number lower than 1, using a given number of decimals after a decimal dot.

Parameters

Parameter 1 is the required positive value to display lower than 1 (i.e. the fractional part of a positive real). Note that its value effective is not checked in this template as it is assumed to be valid (see {{Val/delimitnum}} for how it is computed).

Parameter 2 is the number of decimals to display after the decimal dot.

See also