# Whoops, typo on previous post

Posted by Will (92GXE) on September 17, 2004 at 12:45:53: In Reply to: Try this posted by Will on September 17, 2004 at 12:41:34: Should be this (still untested): totalinches = ((63360 * miles) + (36 * yards) + (12 * feet) + (inches)) totalmeters = totalinches / 39.37 totalcentimeters = (totalmeters mod 1) * 1000) kilometers = Int(totalmeters / 1000) meters = Int((totalmeters mod 1000) * 100) centimeters = Int(totalcentimeters / 1000) Replys:

Name: |
E-Mail |
Car: |
Subject |
Message:
: Should be this (still untested): : totalinches = ((63360 * miles) + (36 * yards) + (12 * feet) + (inches)) : totalmeters = totalinches / 39.37 : totalcentimeters = (totalmeters mod 1) * 1000) : kilometers = Int(totalmeters / 1000) : meters = Int((totalmeters mod 1000) * 100) : centimeters = Int(totalcentimeters / 1000)