Example:
Math.Floor(16777216.0); // returns 0.0
A cast to int can be used as a workaround if the argument is >= 0 and <= int.MAX.
Example:
Math.Floor(16777216.0); // returns 0.0
A cast to int can be used as a workaround if the argument is >= 0 and <= int.MAX.