Mykro
Newcomer
What I'm trying to do is convert from Feet into inches, through code.. example: lets say I have 5.65' feet..
I know that I have 5' already.. so I need to convert the .65 to inches.So I multiply by 12 to get inches .65 x 12 = 7.8 " inches. I remove the 7 so now I have .8 inches. Now all I have to do is multiply by 8 to get 1/8th inches or 16 to get 1/6ths inches etc. etc.. Usually 1/8 inches is sufficient for what I need to do.. So.. 5.65 Feet converts to 5' 7 6/8" inches or 5' 7 3/4" What I can't seem to figure out is to do this in code.. I need a code guru to figure this one out.. I'm still to much of a novice at this point!..
Thanks..
I know that I have 5' already.. so I need to convert the .65 to inches.So I multiply by 12 to get inches .65 x 12 = 7.8 " inches. I remove the 7 so now I have .8 inches. Now all I have to do is multiply by 8 to get 1/8th inches or 16 to get 1/6ths inches etc. etc.. Usually 1/8 inches is sufficient for what I need to do.. So.. 5.65 Feet converts to 5' 7 6/8" inches or 5' 7 3/4" What I can't seem to figure out is to do this in code.. I need a code guru to figure this one out.. I'm still to much of a novice at this point!..
Thanks..