Próbuję sformatować ten i inne elementy podobne, tak to będzie wyglądać to 2,590:XSLT Format numer z przecinkiem
<Add_Amount>2,59</Add_Amount>
Robi to tak:
<xsl:decimal-format name="dkk" decimal-separator="," grouping-separator="."/>
.. ..
<xsl:value-of select="translate(format-number(Add_Amount, '#.###,000', 'dkk'), ',', '.')" />
I wyjście wychodzi NaN. Każda pomoc jest bardzo doceniana.
Dzięki.
// Daniel
ta zwraca NaN – 8bitjunkie