xsl-list
[Top] [All Lists]

[xsl] Convert dollars

2010-01-16 22:26:41
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..

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>