This is a known gap in the current XQuery specs (which may or may not get filled - we’re having great trouble getting agreement in this area).
There’s no format-number capability in XQuery, but you can convert to an integer or decimal which will give you a more acceptable display. Or, of course, you can render the output through XSLT.
Michael Kay
#webMethods#API-Management#Tamino