Handling comparisons and calculations with decimals that have varying numbers of digits before and after the decimal point.