biggie_mac
05-07-2007, 06:15 AM
Apparently seemed simple but I'm hitting my head for over 1 hour with this:
I have a paramater "param" with the value of 23. i want to print out the value of param div 10 but only the integer part. If i write
<xsl:value-of select="number($param) div 10"> I get 2.3. How can I get only the integer part??
I know that the xsl:number element has a format attribute. but how do I apply it to my "cast"?? anyone has any ideea?? 10x
I have a paramater "param" with the value of 23. i want to print out the value of param div 10 but only the integer part. If i write
<xsl:value-of select="number($param) div 10"> I get 2.3. How can I get only the integer part??
I know that the xsl:number element has a format attribute. but how do I apply it to my "cast"?? anyone has any ideea?? 10x