Format decimal

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

This template takes a number as a parameter and formats it so any numbers past a decimal point are shrunk. Any other character after the number will be displayed at full size.


  • {{fd|1.23}}
    • 1.23
  • {{fd|1.23%}}
    • 1.23%

The function {{#invoke:fd|getmulti}} allows the insertion of multiple values.

Example: {{#invoke:fd|getmulti|1.23% to 4.33%}} creates: 1.23% to 4.33%

See also

Community content is available under CC-BY-SA unless otherwise noted.