EngineeringForm[expr]
prints with all real numbers in expr given in engineering notation.
EngineeringForm[expr,n]
prints with numbers given to n‐digit precision.
EngineeringForm
EngineeringForm[expr]
prints with all real numbers in expr given in engineering notation.
EngineeringForm[expr,n]
prints with numbers given to n‐digit precision.
Details and Options
- In "engineering notation" the exponent is always arranged to be a multiple of 3.
- The following options can be given:
-
DigitBlock Infinity number of digits between breaks ExponentFunction Automatic function to apply to exponents ExponentStep 3 steps by which exponents can increase NumberFormat Automatic function used to assemble mantissa, base, and exponent NumberMultiplier "×" string to use to indicate multiplication NumberPadding {"",""} strings to use for left and right padding NumberPoint "." decimal point string NumberSeparator {",", " "} string to insert at breaks between blocks NumberSigns {"-",""} strings to use for signs of negative and positive numbers SignPadding False whether to insert padding after the sign - You can mix EngineeringForm and BaseForm.
- The typeset form of EngineeringForm[expr] is interpreted the same as expr when used in input. »
- When an input evaluates to EngineeringForm[expr], EngineeringForm does not appear in the output. »
Examples
open all close allBasic Examples (2)
Scope (5)
The default display for a machine number:
nE = N[E]Display more digits than the default:
EngineeringForm[nE, 10]EngineeringForm[nE, 2]EngineeringForm[RandomComplex[]]Format a high-precision number:
EngineeringForm[N[Pi ^ 10, 20]]EngineeringForm[N[Pi ^ 10, 20], 10]Change the display of numbers in a vector:
RandomReal[2000, 5]EngineeringForm[%, 4]RandomReal[2000, {3, 3}]EngineeringForm[%, 4]Change the display of inexact numbers in a mixed expression:
y = 150.Sin[x / 7.]EngineeringForm[y]EngineeringForm[y, 4]Options (11)
DigitBlock (2)
ExponentFunction (1)
Compute approximate powers of
:
p = N[E ^ Range[10, 50, 10]]Restrict exponents to multiples of 3:
EngineeringForm[p, ExponentFunction -> (3Quotient[#, 3]&)]Include exponents only for powers greater than 10:
EngineeringForm[p, ExponentFunction -> (If[-10 < # < 10, Null, #]&)]ExponentStep (1)
NumberFormat (1)
Display numbers in a Fortran‐like form:
v = {8. ^ 5, 11. ^ 7, 13. ^ 9}EngineeringForm[v, NumberFormat -> (Row[{#1, "e", #3}]&)]EngineeringForm[v, NumberFormat -> (#1&)]Display only the exponents after converting to scientific form:
EngineeringForm[v, NumberFormat -> (#3&), ExponentFunction -> (#&)]NumberMultiplier (1)
NumberPadding (1)
NumberPoint (1)
NumberSeparator (1)
NumberSigns (1)
The default includes negative signs but not positive signs:
EngineeringForm[{-1 / 3., 2 / 3.}]Include positive signs as well:
EngineeringForm[{-1 / 3., 2 / 3.}, NumberSigns -> {"-", "+"}]EngineeringForm[{-1 / 3., 2 / 3.}, NumberSigns -> {"minus ", "plus "}]Properties & Relations (5)
EngineeringForm uses exponents that are multiples of 3 by default:
EngineeringForm[N[E ^ Range[10, 20, 2]], 10]NumberForm and PaddedForm include exponents higher than 5 by default:
NumberForm[N[E ^ Range[10, 20, 2]], 10]PaddedForm[N[E ^ Range[10, 20, 2]], 10]ScientificForm has one digit to the left of the decimal:
ScientificForm[N[E ^ Range[10, 20, 2]], 10]AccountingForm does not have exponents:
AccountingForm[N[E ^ Range[10, 20, 2]], 10]b2 = BaseForm[123.45, 2]Represent the number in base 2:
EngineeringForm[b2]Reconstruct the base 10 number:
(2^^1.111011011100110011)2 ^ 6Affect the display of numbers in MatrixForm or TableForm:
m = RandomReal[10 ^ 8, {3, 2}];{MatrixForm[m], EngineeringForm[MatrixForm[m], 3]}The typeset form of EngineeringForm[expr] is interpreted the same as expr when used in input:
{EngineeringForm[1234.]}Copy the output and paste it into an input cell. The 1.234×103 is interpreted as 1234.:
{1234.}When an input evaluates to EngineeringForm[expr], EngineeringForm does not appear in the output:
EngineeringForm[1234.]Out is assigned the value 1234., not EngineeringForm[1234.]:
%Possible Issues (2)
Placeholder zeros may be needed if the requested precision is small:
EngineeringForm[12345.6, 3, ExponentFunction -> (If[-5 < # < 5, Null, #]&)]Even when an output omits EngineeringForm from the top level, it is not stripped from subexpressions:
e = EngineeringForm[1234.]The output does not have EngineeringForm in it:
%However, the variable e does have EngineeringForm in it, which may affect subsequent evaluations:
FullForm[e]The product is not evaluated due to the intervening EngineeringForm:
10 * eAssign variables first and then apply EngineeringForm to the result to maintain computability:
(f = 1234.)//EngineeringForm10 * fSee Also
Tech Notes
Related Guides
History
Introduced in 1988 (1.0) | Updated in 2003 (5.0)
Text
Wolfram Research (1988), EngineeringForm, Wolfram Language function, https://reference.wolfram.com/language/ref/EngineeringForm.html (updated 2003).
CMS
Wolfram Language. 1988. "EngineeringForm." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2003. https://reference.wolfram.com/language/ref/EngineeringForm.html.
APA
Wolfram Language. (1988). EngineeringForm. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/EngineeringForm.html
BibTeX
@misc{reference.wolfram_2026_engineeringform, author="Wolfram Research", title="{EngineeringForm}", year="2003", howpublished="\url{https://reference.wolfram.com/language/ref/EngineeringForm.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_engineeringform, organization={Wolfram Research}, title={EngineeringForm}, year={2003}, url={https://reference.wolfram.com/language/ref/EngineeringForm.html}, note=[Accessed: 13-June-2026]}