Forum:Round up a number?

Is there any way to round up a number? I'm doing work for a wiki where I want to make a template to output the cost of an action for a certain amount of time. However, when I do it, it gives out, for example, 1.33333333333. I want it to round to 2, because that is how the game charges you. Thanks, Iggyvolz 16:05, March 14, 2012 (UTC)


 * You can use the  function in   for that. For example:


 * Yields . With ceil,


 * Yields.
 * Awesome! Thanks, Iggyvolz 16:14, March 14, 2012 (UTC)
 * Seems to be giving an error message, did I do something wrong: Test page; Template Thanks, Iggyvolz 16:23, March 14, 2012 (UTC)


 * You're not using #expr correctly. You can find the documentation and a few more examples on the MediaWiki Parser Functions page. -- Pecoes 06:46, March 15, 2012 (UTC)