Post Reply 
Feet/Feet-Inch-Fraction Conversions (compact format)
10-23-2018, 04:48 PM
Post: #2
RE: Feet/Feet-Inch-Fraction Conversions (compact format)
It would be nice if both FTFI and FIFT can be combined as one, say feet()

Float 6.111 is very hard to know its meaning. 6.111 ft ? 6 ft 11 in 10/16 ?

I propose use imaginary number to signal the difference, a signal for multiple units (ft, in, 16th)

6 + 1110 i = 6 ft 11 in 10/16
6.111 = 6.111 ft

Example: what is 5.78125 ft + (6 ft 11 in 10/16) ?

feet(5.78125 + 6 + 1110 i) => 12.75 ft
feet(12.75) => 12 + 900 i (12 ft 9 in)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Feet/Feet-Inch-Fraction Conversions (compact format) - Albert Chan - 10-23-2018 04:48 PM



User(s) browsing this thread: 1 Guest(s)