Fixed conversion of string to decimal