Round: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
mNo edit summary
imported>Bale
mNo edit summary
Line 5: Line 5:
FunctionPage|
FunctionPage|
name={{#var:name}}|
name={{#var:name}}|
function_category=Math and Numbers|


function1={{Function|
function1={{Function|
Line 21: Line 20:


}}
}}
[[Category:Math and Numbers]]

Revision as of 05:06, 22 May 2010

needs(code_samples);

Function Syntax

int round(float number )

  • number is the number to round

Rounds number to the nearest whole number, and returns the result.