[xquery-talk] avoid divide by zero

fatma helmy fatmahelmy2000 at yahoo.com
Thu May 25 00:59:21 PDT 2006

regarding my xquery
{string( round( count($paths[.=$p]) div
count($paths[.=$papa]) * 100 ) )} 

I have a statement that might cause divide by zero, is
there any statement to replace zero by one when it

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

More information about the talk mailing list