[4suite] problem using format-number() on negative numbers
Jeremy Kloth
jeremy.kloth at fourthought.com
Wed Feb 7 13:54:56 MST 2001
Mike Olson wrote:
>
> Sam Brauer wrote:
> >
> > I've noticed some quirkiness when I try to format a negative number using
> > the XSLT format-number() function.
> >
> > For example, the following:
> > <xsl:value-of select="format-number(-3.14, '###.00')"/>
> > produces: --3.14
>
> Jeremy just gave format number a complete overhaul so I'll defer to him
> to see if this works.
>
> >
> > By the way, although both this and my previous post were problem reports,
> > I would like to express my gratitude to Fourthought for their great work
> > and choice of license. You guys rock!!
>
> Thanks for the kind words
>
I tried this out with the new format-number code, and it works just
fine.
Expect this in the next release of 4Suite (due out very soon).
--
Jeremy Kloth Consultant
jeremy.kloth at fourthought.com (303)583-9900 x 105
Fourthought, Inc. http://www.fourthought.com
Software-engineering, knowledge-management, XML, CORBA, Linux, Python
More information about the 4suite
mailing list