[Jprogramming] converting inches to feet, inches (and 16ths of inches)
Raul Miller
rauldmiller at gmail.com
Mon Sep 18 17:36:09 UTC 2017
I'd have done this:
0 12 16#:16*166.7
13 10 11.2
13' 10" and slightly over 11/16.
Similar to Xiao-Yong's approach, though slightly different.
Thanks,
--
Raul
On Mon, Sep 18, 2017 at 1:10 PM, Brian Schott <schott.brian at gmail.com> wrote:
> 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
More information about the Programming
mailing list