Merge "Null-check the mainResult before calling .exactlyDisplayable()" into ub-calculator-euler