This commit is contained in:
Palo Delincak
2011-12-21 11:41:04 +01:00
parent fba5042ba3
commit bc33dd1127
3 changed files with 164 additions and 26 deletions
-4
View File
@@ -3,10 +3,6 @@ var BudgetModule = Class.create();
Object.extend(BudgetModule.prototype, {
initialize: function () {},
// number to currency options
// var options = new Hash();
// options.set('delimiter', ' ');
//// options.set('unit', ' ');
toAmount: function(value) {
var amount = value.replace(/[^1234567890.]/ig,'');
if (amount) {