Compares the decimals represented as string