changed parser to accept numbers with decimals