xsl-list
[Top] [All Lists]

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

2014-03-07 18:06:38
Cool--thanks. I knew it was something simple like that.

Cheers,

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




On 3/7/14, 6:01 PM, "Peter West" <lists(_at_)pbw(_dot_)id(_dot_)au> 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(_at_)contrext(_dot_)com> 
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




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--