TI-BASIC:Fix

From Learn @ Cemetech
Jump to navigationJump to search

FIX.GIF

Command Summary

Puts the calculator in fixed point display mode, displaying value digits after the decimal.

Command Syntax

Fix value

Menu Location

While editing a program, press:

  1. MODE to access the mode menu.
  2. 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.

Calculator Compatibility

TI-83/84/+/SE

Token Size

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 argument of Fix. This could be useful if you're trying to display potentially fractional numbers in a limited amount of space.

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