Entering Numbers |
Anything beginning with a digit is interpreted as a number by Mathcad. As a general rule, you enter numbers by simply typing the digits from the keyboard, using a period as the decimal point.
When entering numbers greater than 999, do not use either a comma or a period to separate digits into groups of three. Simply type the digits one after another.
For example, to enter ten thousand, type "10000." Do not type either "10,000" or "10.000."
A comma is used only in the context of range variables and array subscripts. A period is used only to indicate a decimal point or a literal subscript.
To enter a number in scientific notation, such as 5 x 102:
Type the number.
In the empty placeholder, type the appropriate power of 10.
To make a number imaginary, type i or j immediately following it. For example,
i − 33.4j
1i
1j
If you type either i or j by itself, Mathcad treats it as a variable name and not as the imaginary unit. To enter the imaginary numbers i and j in your worksheet, you must type "1i" or "1j." The digit "1" disappears as soon as you click outside the number.
Mathcad normally displays imaginary numbers followed by i. To display imaginary numbers with j, choose Result from the Format menu to open the Result Format dialog box, then choose the Display Options tab.
To enter a complex number, such as 1 + 2i or 1 − 33.45j:
Type the real part.
Type "+" or "−."
Type the imaginary part.
Mathcad provides special functions and operators for working with complex numbers.
![]() |
Entering Numbers in Other Bases |
Type the digits making up the number. Valid digits are the numbers 0 and 1.
Type the letter "b" immediately following the last digit in the number.
1101b
If the first digit of the number is one of the letters A through F, you must start that number with a "0." If you don't, whatever you type will be interpreted as a variable and not as a number.
Type the digits making up the number. Valid digits are the numbers 0 through 9 and the letters A through F.
Type the letter "h" (or "H") immediately following the last digit in the number.
2b3ch
0a32H
Type the digits making up the number which must be real. Valid digits are the numbers 0 through 7.
Type the letter "o" (or "O") immediately following the last digit in the number.
32o
60
Because of implied multiplication Mathcad may add a multiplication operator or space between the final digit and the letter for binary, hexadecimal, or octal numbers. Mathcad may also place a multiplication operator between other characters and numbers. You can delete these operators or spaces, which you can see by clicking on the expression.