Hi, I would like to convert a **float** to **integer**, like rounding 11.61 to 12.

The problem is that the output result is a **float**, this would break the shape of my scripts as they use **integers**, as I said I researched how to convert **float to integer** but I didn’t find anything useful. And I came to devforum for any help.

**Script:**

```
-- Bank = math.Random
local Bank = game.ServerStorage.Configuration.Bank.Value -- Integer Value
function Func_Saldo_Reset()
local Num = Bank / 2 - Bank / 3
while Num > 5000 do -- Check if the result is under 5000 then proceed
Num = Num / 2
end
-- if "Num" is a float then convert to integer
Bank -= Num
warn(Num)
end
Func_Saldo_Reset()
```

**Output**

convert to **4173**

Any help is welcome!