Added functionality for parsing decimals