If it's that your calculator in the Today/Notifications panel always resets to that number, then the particular number will be whatever number was last in the calculator when you upgraded to High Sierra. Basically, the widget no longer saves the last value like it should, and resets constantly to what was last stored in the prefs file: