Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Feet Inch Sixteenth Program

Tags:
  1. Jun 24, 2015 #1
    I was wondering if anyone here has a program for their ti-89 that can add and subtract dimension in ff.iiss format. Also it would be great if you could convert ff.iiss to decimal feet and vise versa.

    For example I would want to enter in 10.0608 (10 feet 6 and a half inches) and convert it to decimal feet and get the answer of 10.5416. I would also like to be able to add and subtract dimensions in the same ff.iiss format.

    Does anyone have a program that can do this? I would try and make one but have no idea how to even start.

    Thank you for the help.
     
  2. jcsd
  3. Jun 24, 2015 #2

    Baluncore

    User Avatar
    Science Advisor

    Welcome to PF.
    I do not have ti-89 but here is one basic algorithm.

    x = ff.iiss ' the input
    ft = Integ(x) ' build decimal feet in ft

    x = 100 * Fract(x) ' shift two digits left
    ft = ft + Integ(x) / 12

    x = 100 * Fract(x) ' shift two digits left
    ft = ft + x / 192 ' decimal feet result, 12*16 = 192

    Edit; On Ti 89 use the iPart() and fPart() functions for the integer and fractional part functions.
     
    Last edited: Jun 24, 2015
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook