Anthony Lucia
asked on
XPath in XQuery: Casting to xs:decimal
This works well for me
But I have tried to convert this to an xs:decimal as follows, but they do not work:
How can I cast the following XPath statement to xs:decimal ?
Thanks
fn:sum($asset/(in:currentprice * in:quantity))
But I have tried to convert this to an xs:decimal as follows, but they do not work:
fn:sum($asset/(in:currentprice * in:quantity))/xs:decimal()
fn:sum($asset/(in:currentprice * in:quantity)/xs:decimal())
How can I cast the following XPath statement to xs:decimal ?
fn:sum($asset/(in:currentprice * in:quantity))
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.