Round a number to the nearest whole number.
returnedNum = round(numFlt)
returnedNum - type: number
numFlt - type: float
The whole number nearest the given number.
Analogous to the round function in C/C++. Halfway cases round away from zero, so round(3.5) is 4 and round(-3.5) is -4.
@CODE
"output.txt" << round(3.5) << "\n";
@@CODE
Outputs:
4