[xquery-talk] avoid divide by zero
fatma helmy
fatmahelmy2000 at yahoo.com
Thu May 25 00:59:21 PDT 2006
regarding my xquery
<RATIO>
{string( round( count($paths[.=$p]) div
count($paths[.=$papa]) * 100 ) )}
</RATIO>
I have a statement that might cause divide by zero, is
there any statement to replace zero by one when it
occurs.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the talk
mailing list