# Feet Inch Sixteenth Program

Tags:
1. Jun 24, 2015

### Matthew2046

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. Jun 24, 2015

### Baluncore

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