fix2
fix2(n_value) =>x_result/nil
Description
This function is a version of the fix function that works for rounding issue in floating-point calculations. The function returns the largest integer not larger than the given argument.
Arguments
Value Returned
|
Returns the largest integer not larger than the given argument. |
|
Examples
fix2(4.1 * 100)
=> 410
Related Topics
“
Return to top