Formatting scientific number representation in xsl

前端 未结 5 789
遇见更好的自我
遇见更好的自我 2020-12-03 19:45

I have the following value in my XML -1.8959581529998104E-4. I want to format this to the exact number it should be using XSL to give me -0.000189595815299981.

fo

5条回答
  •  醉话见心
    2020-12-03 20:24

    Just tried this with xsltproc using libxslt1.1 in version 1.1.24 under Linux:

    XSLT 1.1 is able to read in exponential/scientific format now even without any dedicated template, it seems to simply work :-))

提交回复
热议问题