Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有在左边补零的功能?
我正在尝试做的要求是:
输入:
1234567899
输出:
00000000001234567899
format-number 函数可用于此:
<xsl:value-of select="format-number(1234567899, '00000000000000000000')" />