Rounding Numbers in the WE

Status
Not open for further replies.
Level 9
Joined
Jun 18, 2004
Messages
565
Does anyone know how to return a rounded number in the WE?

I need to round any number in the hundreds down. Eg, 165 = 100, 2456 = 2400. I can't seem to find anything searching the forums, and this is pretty crucial to what I'm doing. Is there any way to round a number?

Thanks,
iron_warrior.
 
Level 24
Joined
Jun 26, 2006
Messages
3,406
This probably isn't what you're looking for, but you could do a trigger where if X is greater than/less than whatever values you want to round to the nearest hundred, you could just change it. Depending on what X is, it could be really easy or really hard to refer to, though.I'll get the conditions and what they're listed under to you in a bit.

It's its own section... the condition is Integer Comparison. Hope that helps.
 
Status
Not open for further replies.
Top