truncate value

Jun 11, 2012 at 7:21pm

truncate value

is there a way to truncate a value if it gets higher than a specified number. For example: if you set a limit of 100 and the incoming value is 103, the 100 gets truncated, so the resulting value is 3. I could do this with the if-then expressions but if the value would be 206 than I would have to create a second instance of if-then. I am looking for a more efficient way.

#46657
Jun 11, 2012 at 7:47pm

modulo? % 100

#167870
Jun 11, 2012 at 8:03pm

How could I look over this? Thanks!

#167871

You must be logged in to reply to this topic.