Template:Precision/tzEdit This Page

From FamilySearch Wiki

[view] [edit] [history] [purge] Documentation icon Template documentation

This template, {{precision/tz}}, returns the number of trailing zeroes after the decimal point.

Examples

{{Precision/tz|123}}

0

{{Precision/tz|123.}}

0

{{Precision/tz|123.0}}

1

{{Precision/tz|123.4}}

0

{{Precision/tz|123.40}}

1

{{Precision/tz|123.000}}

3

{{Precision/tz|123.4000}}

3

{{Precision/tz|100}}

0

{{Precision/tz|100.}}

0

  • This page was last modified on 10 July 2010, at 08:51.
  • This page has been accessed 238 times.