6. Number Formatting
In PEMDAS, there are several different ways to format numbers and answers. Note that formatting does not change the actual number, it only changes what appears on the screen. In other words, if you have the significant figure precision set to 2, the number 5.4321 will be displayed as 5.4, but all calculations will use the 5.4321 value.
There are several different ways that PEMDAS can format numbers:
* Note that when Binary, Octal, or the Hexadecimal formatting is applied to a non-integer number, it will be floored prior to formatting. When this happens, a (Floored) notice will appear after the number. See below for examples.
Examples are in the sections below.
Float Formatting Type
Using the Float preference:
Scientific Formatting Type
Using the Scientific preference:
Using the Scientific preference, with decimal places limited to 4 (see the Decimal Places below for more information on limiting decimal places):
Engineering Formatting Type
Using the Engineering preference.
Using the Engineering preference, with decimal places set to 4:
Percentage Formatting Type
Using the Percentage preference, and Thousands Separators enabled:
Binary Formatting Type
Using the Binary preference
= 0b0001 1110 0010 0100 0000 (Floored)
= 0b0 (Floored)
= 0b1111 1111
= 0b0100 0000
Octal Formatting Type
Using the Octal preference:
= 0o361100 (Floored)
= 0o0 (Floored)
Hexadecimal Formatting Type
Using the Hexadecimal preference:
= 0x1E240 (Floored)
= 0x0 (Floored)
You can limit the amount of significant figures that are displayed. If the number has fewer significant figures than the amount you specify, PEMDAS will leave the number alone.
With significant figures being limited to 4 significant figures:
You can set the amount of decimals to be displayed. This preference can be useful when dealing with things like money.
With decimal places being set to 4 decimal places:
Thousand separators are only available when the number is formatted as a Float or a Percent. In locales that use a decimal (.) as a radix point, the thousands separator is a comma, while in regions that use a comma as a radix point, the thousands separator is a space.
Thousands separators are enabled by default. This can be changed in the Formatting tab on the back of the widget by unchecking the "Use Thousands Separators" preference. The thousands separator character can be modified by changing the "Thousands Separator" selection on the back of the widget.
Equation History View