Rounding numbers? (Release Announcements)

by Aaron @, United States, Tuesday, November 19, 2013, 14:50 (1254 days ago) @ Aaron

sorry here is the corrected program

rem mph to combat round move meters. not correct redo
print " miles per hour "
input mph

mpr = mph * 5.36

mps = mpr /8


mpm = mps * 2
mpf = mpm * 2
mpvf = mpf * 2
print " Meters Per Round(Slow) " + mps
print " Meters Per Round(medium) " + mpm
print " Meters Per Round(fast) " + mpf
print " Meters Per Round(very fast) " + mpvf
print "mpfl" + mpfl
print "mpc" + mpc

i need mps to be rounded down at .4 or less and rounded up at .5 or higher

Thanks in advance!


Complete thread:

 RSS Feed of thread

powered by my little forum