❔ Truncate
how do I Truncate a float to an int, I tried this
and it says
I really need to know how to truncate now
and it says
I really need to know how to truncate now
public int maxGap = 4;
maxGap = 4 + decimal.Truncate(player.position.x/500);Argument 1: cannot convert from 'float' to 'decimal' [Assembly-CSharp]