Round a floating-point number down to the nearest integer? November 21, 2022 by Tarik Simple int(x) will work as well.