src/index.js
function parsePrice (input) {
  var str = String(input)

  var decimalPart = '00'
  var decimalSymbol = getDecimalSymbol(str)

  if (decimalSymbol) {
    decimalPart = str.split(decimalSymbol)[1]
  }

  var integerPart = str.split(decimalSymbol)[0]

  return Number(filterNumbers(integerPart) + '.' + filterNumbers(decimalPart))
}
function parsePrice (input) {
  var str = String(input)

  var decimalPart = '00'
  var decimalSymbol = getDecimalSymbol(str)

  if (decimalSymbol) {
    decimalPart = str.split(decimalSymbol)[1]
  }

  var integerPart = str.split(decimalSymbol)[0]

  return Number(filterNumbers(integerPart) + '.' + filterNumbers(decimalPart))
}
API  
@param {Number|String} input
@return {Number}