100 12#:166.7 NB. feet and inches
13 10.7
100 12 16#:16*166.7 NB. feet and inces and sixteenth inches
13 10 11.2
Den 19:10 mandag den 18. september 2017 skrev Brian Schott
<[email protected]>:
My car is 166.7 inches long according to the specs.
Car cover coverages are measured in feet and inches.
To compute how many feet and inches long my car is I used the following
calculations.
166.7%12
13.8917
(-<.)166.7%12
0.891667
12x *(-<.)166.7%12 NB. the x is not required, imo
10.7
Which seems to suggest the car is 13 feet 10.7 inches long, right?
Being a little annoyed at how difficult that calculation seems I decided to
try to also see how many 16ths of an inch is added, so I did the following
which seems to suggest between 11 and 12 sixteenths.
16x * (-<.) 12x *(-<.)166.7%12 NB. again, x is extra
11.2
I wonder if there is an easier way to do this, which in my recollection
seems to be in the wheelhouse of Ian's Tabula or its brethren. I had
expected #: to be involved in the calculations, but could not find such.
--
(B=)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm