CodeBase - Round Float to Nearest Integer
Return to the CodeBase listing
Category: Math / Physics
Version: 2
Information
Uploaded: 19th Nov 2007 22:06
Modified: 14th May 2012 01:00
Author: Libervurto
Summary
Rounds a real number to the nearest whole integer.
Full Description
In the real world, floats are usually rounded to the nearest integer rather than truncated.
Comments
No comments yet.