Posts: 226
Threads: 27
Joined: Apr 2012
I am lost on how can I round a Card4 variable value to the nearest integer in the Action Editor.
Or at least just loose the decimals following a Divide() arithmetic
Thanks
Posts: 40,483
Threads: 491
Joined: Aug 2002
If it's a Card4 variable it should never have any decimals, right? Only a float variable should ever end up with any decimal points. Are you seeing decimals on a Card4 variable?
Dean Roddey
Explorans limites defectum
Posts: 40,483
Threads: 491
Joined: Aug 2002
For just capping off a value the CapAt(var, index) command will do that. You would need to find the offset of the decimal point. The Find() command can do that.
Dean Roddey
Explorans limites defectum
Posts: 226
Threads: 27
Joined: Apr 2012