[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Need Math Help: How to Convert Proportional Column Widths to Real Values?


Subject: Re: [xsl] Need Math Help: How to Convert Proportional Column Widths to Real Values?
From: Peter West <lists@xxxxxxxxx>
Date: Sat, 8 Mar 2014 10:01:34 +1000

240/(1+1.38)*1.38=139.1596
240/(1+1.38)     =100.8403  //Multiplied by 1 in this case

Peter West

...and again, as his custom was, he taught them.

On 8 Mar 2014, at 9:51 am, Eliot Kimber <ekimber@xxxxxxxxxxxx> wrote:

> Maybe it's being end of a day on a Friday but my already limited math
> skills are failing me.
>
> I'm converting CALS tables into InDesign tables where I need to specify
> actual measurements. I know the width available to all the proportional
> columns and I know the CALS proportional values, e.g. "1*", "1.38*", etc.
>
> My puzzle is, how do I go from 1.38 to the correct fraction of the
> available width?
>
> For example, say that I have two proportional columns of width "1*" and
> "1.39*" and the available width is 240pt.
>
> How do I determine fraction of 240 each of these proportions get?
>
> Thanks,
>
> Eliot
> 
> Eliot Kimber, Owner
> Contrext, LLC
> http://contrext.com


Current Thread