Closed GoogleCodeExporter closed 8 years ago
Any update?
Original comment by samih...@gmail.com
on 16 Nov 2009 at 11:02
[deleted comment]
I didn't want formatCurrency to mess with any non-numerical (or blank) values,
so
after line 63:
num = $this[$this.is('input, select, textarea') ? 'val' : 'html']();
I added the following code:
// If the value isn't numeric, don't mess with it
if(!num.match(/^[0-9.,$]+$/)) { return; }
Original comment by gwel...@gmail.com
on 18 Nov 2009 at 5:13
This seems like wanted behaviour to me.
Original comment by eric.marden
on 23 Nov 2009 at 6:32
Fixed in the trunk
Original comment by bdewe...@hotmail.com
on 28 Nov 2009 at 2:58
Original comment by bdewe...@hotmail.com
on 28 Nov 2009 at 3:12
To eric.marden's point I feel that if you want a zero value you should just
set it
to zero before formatting. thoughts on adding this as a option?
Original comment by bdewe...@hotmail.com
on 28 Nov 2009 at 3:31
Option is fine, but setting to 0.00 shouldn't be the default. Thanks for fixing
this!
Original comment by samih...@gmail.com
on 28 Nov 2009 at 6:23
Original issue reported on code.google.com by
samih...@gmail.com
on 10 Nov 2009 at 3:50