How can you remove the dot in a number and everything after it?

So basically i have a number that is 35.683
How can i remove the the dot and the numbers after the dot?

math.floor(number) [fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff]

You can easily use math.floor, math.ceil or math.round to do this. You have to decide which function makes the best for your problem.

local num = 35.683
print(num) --35.683
print(math.floor(num)) --35 (round down to nearest integer)
print(math.ceil(num)) --36 (round up to nearest integer)
print(math.round(num)) --36 (round up or down to nearest integer)

thank you so muchhhhh!!! i can do it now!

thanksss yaya i can continue my game :DDDD