DRILL-799: Use static constants instead of Math.pow() to compute powers of 10 while adjusting scale of decimal data type.