Parse Float From Brazilian Currency
This is a simple function to transform a string like this:
R$ 2.839.039,38
To a float number like this:
2839039.38
Or maybe (in the future) like this:
2,839,039.38
Setup
Node or Browserify
var parseFloatFromBrCurrecy = ;
Browser (Global)
Usage
var price = 'R$ 2.839.039,38';console; // Will return: 2839039.38console; // Will return: "number"
License
MIT