I don't know about double, but decimal has a fractionDigits constraint that should do what you are looking for. http://www.w3.org/TR/xmlschema-2/#rf-fractionDigits -jacobd
On Thu, Jul 1, 2010 at 5:37 AM, danydyn <[email protected]> wrote: > > Hi, > I am looking for a way to make XmlBeans output a floating point number in a > specific format. > The number type is xs:double and I want it to always print two fraction > digits after the decimal point, that is, X.XX. > I haven't found a way to do it so far. > > Help is greatly appreciated. > > Thanks, > > Dan. > -- > View this message in context: > http://old.nabble.com/floating-point-numbers-output-format-tp29045157p29045157.html > Sent from the Xml Beans - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >

