BSG-WIKI SM.png
Share Your Thoughts!

Shape the future of Battlestar Wiki with this short survey!

There may be algae cookies and hydronic mushies. Mmm... Trick or Treat!

Template:Roundup

From Battlestar Wiki, the free, open content Battlestar Galactica encyclopedia and episode guide

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.