Use getFractionDigits instead of getDecimals in round