$ShowFractions• $ShowFractions is a setting to control the display format of numbers. • Setting $ShowFractions = True causes numbers to be displayed as fractions when possible. • Setting $ShowFractions = False causes numbers to be displayed in decimal notation. • The value will persist until the end of the current session or until reset to another value. Examples Entering Commands Directly
Out[1]= |  |
Changing the value of $ShowFractions will cause numbers to return as fractions of whole numbers where possible.
Out[3]= |  |
Out[4]= |  |
Where this is not possible, decimal digits will still be returned.
Out[5]= |  |
Resetting the value of $ShowFractions to False will return the default behavior.
Out[7]= |  |
|