sum ($accs/FUNum/@Granted) = 0
$divideBy = 1,750099
Result: <xsl:value-of select="sum ($accs/FUNum/@Granted) div $divideBy"/>
Expected Output: 0
Actual Output: NaN
Please note the value of divideBy contains comma(,) instead of decimal(.)
Assume we need to replace the comma as decimal. Not sure how to handle this.
Since by reading the configuration file will get the value of divideBy, it has
only comma instead of decimal.
How to avoid NaN.
Regards,
Raja
This message contains information that may be privileged or confidential and is
the property of the Capgemini Group. It is
intended only for the person to whom it is addressed. If you are not the
intended recipient, you are not authorized to
read, print, retain, copy, disseminate, distribute, or use this message or any
part thereof. If you receive this message
in error, please notify the sender immediately and delete all copies of this
message.
--~------------------------------------------------------------------
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>
--~--