# Difference between revisions of "TI-BASIC:Frac"

From Learn @ Cemetech

Jump to navigationJump to search (Initial automated import) |
(Automated internal link correction) |
||

Line 21: | Line 21: | ||

= Related Commands = | = Related Commands = | ||

− | * [[TI-BASIC: | + | * [[TI-BASIC:Dec|►Dec]] |

= See Also = | = See Also = |

## Latest revision as of 19:21, 24 February 2016

**Command Summary**

Displays the fractional value of a number

**Command Syntax**

*Decimal*►Frac

**Menu Location**

While editing a program, press:

- MATH to open the Math menu
- ENTER or 1 to select.

TI-83/84/+/SE

1 byte

►Frac attempts to display the input in fraction form. It only works on the home screen outside a program, or with the Disp and Pause commands in a program. It takes at least 12 decimal places of a non-terminating decimal to find the corresponding fraction. The decimal input is returned if ►Frac fails to find the fraction form.

For a better algorithm for finding fractions, see the Decimal_To_Fraction routine.

.333►Frac .333 .333333333333►Frac 1/3