0
xslt format-numberを使ってローカル番号をフォーマットしようとしました。私はこの出力を得ることができませんでした。XSLTローカル番号書式
1
10
100
1,000
10,000
1,00,000
10,00,000
1,00,00,000
10,00,00,000
XSLTを使用します。
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text"/>
<xsl:variable name="t">123590</xsl:variable>
<xsl:template match="/">
<xsl:value-of select="format-number($t, '##,##,##0')"/>
</xsl:template>
</xsl:stylesheet>
ありがとうございました。コピー Umesh
私はこれをhttp://fiddle.frameless.io/に入れてもうまく動作し、 '1,23,590'を出力するので、あなたの問題は特定のXSLTプロセッサに関連しているようです。 – Lucero
参照:http://stackoverflow.com/a/38643507/3016153 –
[XSLT書式番号とインディアン価格のカンマを含む]重複している可能性があります(http://stackoverflow.com/questions/38641504/xslt-format-number-コンマ - インディアン価格で) –