![]() |
[XSL] How to print a number in hexadecimal format: %04x ?
Hello,
I am trying to do a printf( "%04x" ). Looking on the web I could find the printHex: http://www.biglist.com/lists/xsl-lis.../msg00420.html The problem is that I cannot use the output to pass to format-number( $x, "0000" ), since it shokes whenever the output contains [A-F]. Thanks for suggestion, Mathieu |
Re: How to print a number in hexadecimal format: %04x ?
mathieu wrote: > Hello, > > I am trying to do a printf( "%04x" ). Looking on the web I could find > the printHex: > > http://www.biglist.com/lists/xsl-lis.../msg00420.html > > The problem is that I cannot use the output to pass to format-number( > $x, "0000" ), since it shokes whenever the output contains [A-F]. In my case using prepend-pad was enought. Found at: http://www.biglist.com/lists/xsl-lis.../msg00174.html Mathieu |
| All times are GMT. The time now is 07:43 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.