replace string to decimal for money transactions