you do need two choose statements, but don't do this
<xsl:variable name="s">4.79</xsl:variable>
do this
<xsl:variable name="s" select="4.79"/>
the second makes s a variable with value the number 4.79
the first makes s into a result tree fragment with a document node#
having a unique identity, contianing a text node with value the string
"4.79"
when used in a numeric expression the second can be used directly but
the first will be first coerced to the string "4.79" and then finally
back to the number 4.79.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list