Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Roundup

Template page

This template rounds up a numeric value to a limited number of decimal places.

Usage
  • {{Roundup|value}}
  • {{Roundup|value|decimals}}
  • Both parameters can be any valid numeric expression.
  • The decimals parameter defaults to 0 and is rounded to the nearest integer.
  • decimals can be negative to round up to a multiple of a power of ten.
  • If decimals is not between -20 and 20, the value is returned without rounding.