Zero Digit
This is an open discussion with 3 replies, filed under XSLT.
Search
Similar things can be done using the format-number() function. :-)
Darn! Why is it so many times when I think something has te be done with an extension or utility while XSLT already has some built-in functions for most of it?
Just curious: how would you convert a number like ‘7’ to ‘007’ or ‘13’ to ‘***13’ with the format-number()
-function then?
format-number(7,'000')
You can’t use custom zero-characters with this function.
Create an account or sign in to comment.
A new XSLT utility, “Zero Digit” is now available for download. Comments and feedback can be left here but if you discover any issues, please post it on the issue tracker.