Subject: Re: [xsl] Saxon Div Issue From: "G. Ken Holman g.ken.holman@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Mon, 19 Jan 2015 16:27:32 -0000 |
>I wouldn't know if it will be a double that I will be a decimal. Ignore the above inebriated statement.. All I meant was, I wouldnt know if it will be a decimal.
On Mon, Jan 19, 2015 at 11:03 AM, Mailing Lists Mail daktapaal@xxxxxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > THe problem is , I dont know what will come in the $num. It is an > xpath. It comes from an XML element. > > SO sometimes, the element contains 988, and sometimes it contains 98.8 > .. so my pseudo code actually is :" > > $num = /xpath/num > var result = $num div 100 > > I wouldn't know if it will be a double that I will be a decimal. > > Dak
-- Check our site for free XML, XSLT, XSL-FO and UBL developer resources | Free 5-hour lecture: http://www.CraneSoftwrights.com/links/video.htm | Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ | G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx | Google+ profile: http://plus.google.com/+GKenHolman-Crane/about | Legal business disclaimers: http://www.CraneSoftwrights.com/legal |
--- This email has been checked for viruses by Avast antivirus software. http://www.avast.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Saxon Div Issue, Mailing Lists Mail d | Thread | Re: [xsl] Saxon Div Issue, Mailing Lists Mail d |
Re: [xsl] Saxon Div Issue, Michael Kay mike@xxx | Date | Re: [xsl] Saxon Div Issue, Mailing Lists Mail d |
Month |