Casting from a float to an integer will round the float towards zero
NOTE: currently this will cause Undefined Behavior if the rounded value cannot be represented by the target integer type. This includes Inf and NaN. This is a bug and will be fixed.
Ого
Sergey
Илья
Dmitry
Konstantin
саша