Template:Roundup/doc

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


 * Usage :
 *  
 *  
 * 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.


 * Examples :
 *   =
 *   =  (should be 0, not 0.001)
 *   =  (should be -0.001, not 0)
 *   =


 *   =  (should be 0, not 1)
 *   =  (should be -1, not 0)


 *  </tt> =
 *  </tt> =  (should be 0, not 1000)
 *  </tt> =  (should be -1000, not 0)
 *  </tt> =
 *  </tt> =  (should be 1, not 2)


 * Note :
 *  ⌈</tt>value⌉ </tt> is equivalent to  </tt>.


 * See also :
 * Template:Ceil
 * Template:Rounddown

nl:Sjabloon:RoundUp