[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Convert dollars


Subject: [xsl] Convert dollars
From: Karl Stubsjoen <kstubs@xxxxxxxxx>
Date: Sat, 16 Jan 2010 21:26:13 -0700

Besides a recursive template which strips obvious dollar syntax from a
string, is there a better way to achieve a number from items like:
$ 330.01
$ 1,100.32
- 234
1
$5
-16.23
Notice the negative, this should be preserved.
I'm interested in a 1.0 solution.
Thanks,
Karl..


Current Thread