Difference between revisions of "Round"

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
(Created page with '{{ #vardefine:name|round}}{{ #vardefine:return_type|int}}{{ FunctionPage| name={{#var:name}}| function_category=| function1={{Function| name={{#var:name}}| aggregate={{#var:agg…')
(No difference)

Revision as of 00:27, 13 March 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.