pub fn truncf(x: f32) -> f32
Rounds the number toward 0 to the closest integral value (f32).
This effectively removes the decimal part of the number, leaving the integral part.