why not just do something like this?

```javascript
var unmaskedStr = this.val().replace(settings.thousands, '').replace(settings.decimal, '.');
return parseFloat( unmaskedStr );
```