
Basic Calculations
Tip
•The “ans” variable is a system variable. For details about system variables, see
•Since “ans” is a variable name, you can specify the “ans” variable by inputting [a][n][s] on the 0 (alphabet) keyboard, or by tapping the D key on the 9 or the ) keyboard.
•The “ans” variable stores the result of your last or most recent calculation.
•The work area maintains a calculation history of the calculations you perform (page
•Using the “ans” variable in a calculation results in an error if the previous calculation produced an error display or after a program produces the “done” message on the display.
•The format of the calculation result value assigned to the “ans” variable depends on the Basic Format dialog box [Display] setting (page
approx (1/3) w 0.33 ans ⋅ 3 w 0.99
See “Standard Mode and Decimal Mode” on page
Calculation Error
An error message dialog box, like the one shown below, appears when there is a problem with the syntax of an input expression or value, when the number of decimal places of a calculation result in the Standard mode (page
Tip
•The text of the error message dialog box depends on the type of error that occurred. For details, see the “Error Message Table” on page
•If you perform a calculation that is mathematically undefined (such as division by zero), the message “Undefined” appears in place of the calculation result, without display of an error message.
20050501