[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: Eliot Kimber <ekimber@xxxxxxxxxxxx>
Date: Fri, 07 Mar 2014 18:05:25 -0600

Cool--thanks. I knew it was something simple like that.

Cheers,

E.
bbbbb
Eliot Kimber, Owner
Contrext, LLC
http://contrext.com




On 3/7/14, 6:01 PM, "Peter West" <lists@xxxxxxxxx> wrote:

>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
>> bbbbb
>> Eliot Kimber, Owner
>> Contrext, LLC
>> http://contrext.com


Current Thread