easiest way to truncate a number
TomTARDIS
Posts: 3
I'm writing a PBasic program that compares to sensor readings, ( ultrasonic). I'd like to truncate the first number so that the when I compare the 2 sensors, there not so sensitive. Does this make sense? If the results of one is 1234 and the other is 1239, I'd like to change them both to 1230. Thanks for any help.
Comments