|
We're glad you came by, but you might find what you're looking for elsewhere. TI-Basic Developer is not the site it once was. While its information on commands and other calculator features remains almost second-to-none, its forum, archives, and even hosting service, Wikidot, have been decaying for years. The calculator community would love to see what you're working on, or help you in your next coding adventure, but TI-Basic Developer is no longer the place to do it. Instead, you should head over to Cemetech (primarily American) or TI-Planet (primarily international). Both are active, well-established forums with their own archives, chatrooms, reference material, and abundant coding tools and resources. We'll see you there, we hope. |
Puts the calculator in fixed-point display mode, displaying value digits after the decimal.
Fix value
While editing a program, press:
- MODE to access the mode menu.
- Use arrows to select a number 0-9 from the 2nd line.
This will paste Fix number. Outside a program, it will simply put the calculator in the appropriate mode.
TI-83/84/+/SE
1 byte
The Fix command puts the calculator in fixed-point display mode: all numbers will be displayed with a fixed number of digits (0-9) after the decimal, depending on the the number following the Fix command.
For example, after running the command Fix 3:
- 1 will be displayed as 1.000
- 3.14156 will be displayed as 3.142 (rounded to 3 decimal places)
This could be useful if you're trying to display potentially fractional numbers in a limited amount of space.
Use the Float command to undo the Fix command and only display decimal places when needed.
Unfortunately there is no direct command in TI-Basic to retrieve the current Fix setting (i.e., the number of decimal places currently set for display).
A note on more technical aspects: first, if more digits are available than are displayed, the calculator will round off the displayed number (but not its stored value), so 3.97 will be displayed as 4 in Fix 1 mode. Second, the Fix command can't force more than 10 significant digits to be displayed, so something like 123456789.1 will only display one decimal digit even in Fix 9 mode.
Finally, note that the Float and Fix commands only change the way numbers are displayed—they are saved in the same way in each case. Even if you're in Fix 0 mode, the calculations are not done using integers, and in general, the calculations are still done using floating-point numbers no matter the number mode. The one exception is with regressions: if you store a regression to an equation in Fix N mode, it will truncate the numbers involved before storing them to the equation, and as a result, the equation will be different.
Related Commands
.