Sub topic 6
Typing integers, decimals, fractions and negative numbers
This chapter assumes you can already solve the arithmetic and algebra in a numeric entry question. It covers what happens after you have a value: how to type it so the system reads it as you intend. A correct value typed in the wrong form earns no credit.
What the interface gives you
Numeric entry questions on the GRE use one of two layouts:
- A single answer box. You type an integer or a decimal.
- Two boxes stacked with a fraction bar between them. You type an integer in the top box (the numerator) and an integer in the bottom box (the denominator).
The question and the layout tell you which form is expected. If you see one box, you cannot type a slash or a mixed number. If you see two boxes, you cannot type a decimal into either one.
Integers
An integer is a whole number such as 7, 0, or -12. Type the digits and nothing else.
- Do not add units, words, or symbols. A question that asks for a price in dollars wants
45, not$45. - Do not add a trailing decimal point or extra zeros unless you want them. For an integer answer,
45,45.and45.0are all risky habits. Type45. - Large integers are typed as plain digits. Avoid thousands separators such as commas. Type
12000, not12,000. - Zero is a valid answer. Type
0. Leaving the box empty counts as unanswered.
Decimals
Use a period as the decimal point. Type the value exactly as the question requires.
- If a question asks for the exact value of a quantity that is a terminating decimal, such as 3/8, type
0.375. Typing0.38is a rounded value and is wrong unless the question asked you to round. - A leading zero is optional in principle, but typing it (
0.375) removes any doubt about where the point sits. - Trailing zeros do not change the value.
2.5and2.50represent the same number, so the system accepts either. Do not add trailing zeros to look more precise, because there is no benefit. - If a value is a repeating decimal, such as 1/3, the question will either give a rounding instruction or supply fraction boxes. Without one of those, you could not type the exact value, so expect one of them.
A useful rule: a single box means the answer has an exact decimal form or the question tells you how many places to keep. If you compute 2/3 and the question has a single box with no rounding rule, recheck the question. You may have misread what is being asked.
Fractions in two boxes
When two boxes appear, the answer is numerator / denominator, with each part an integer.
- Type only integers. A decimal such as
1.5over2is not valid. - You do not need to reduce the fraction. The system accepts equivalent fractions, so
18over24equals3over4. You can still reduce to keep numbers small, and reducing is a good check on your arithmetic. - Do not type a mixed number such as 1 1/2 across the boxes. Convert it first: 1 1/2 is
3over2. - The denominator cannot be zero, and you should not need it to be.
This is the idea behind the Python example from the topic plan. The reduced form of 18/24 is 3/4, and either one is the same value:
from fractions import Fraction
print(Fraction(18, 24)) # 3/4, the reduced form of 18/24
print(Fraction(18, 24) == Fraction(3, 4)) # True: equivalent fractions are the same value
print(round(2 / 3, 2)) # 0.67, rounded to two decimal placesThe same logic applies to checking your own work. If you suspect two forms are equal, cross-multiply: 18 × 4 = 72 and 24 × 3 = 72, so 18/24 = 3/4.
Negative numbers
Type a minus sign (the hyphen key) directly before the digits, with no space: -12, -0.5.
- In a single box, the sign goes at the front of the number.
-0.5is correct.0.5-is not. - In fraction boxes, put the minus sign on the numerator:
-3over4. Do not put it in the denominator, and do not try to place it before the bar. - A minus sign can usually be removed with the backspace key, the same way you would delete a digit. If you are unsure whether it registered, look at the box before moving on.
- Negative zero does not exist. If your work gives
-0, type0.
Sign errors usually occur before you type, not while typing. When the answer is negative, ask whether the quantity can actually be negative. A distance, a count of people, and a length cannot. A temperature change, a profit, and a coordinate can.
Checking what you typed
Before you confirm, read the box back as if it were someone else's answer.
- Does the form match the layout (integer or decimal for one box, integers in two boxes)?
- Is the sign right and in the right place?
- Is the decimal point where it should be? An answer of
0.05and0.5differ by a factor of ten, and one stray keystroke can cause that. - If a rounding instruction appeared, does the number of decimal places match it?
- Does the value make sense in size? This is where estimation, covered later, pays off.
A checker for equivalent forms
The following program models what it means for typed answers to be equivalent. It is not the GRE's actual software. It is a study aid that shows which forms collapse to the same value, and which forms are not valid in a given layout.
from fractions import Fraction
from decimal import Decimal, InvalidOperation
def parse_single_box(text):
"""Parse text typed into a single box. Only integers and decimals are valid."""
text = text.strip()
if "/" in text or "," in text or " " in text:
raise ValueError(f"not an integer or decimal: {text!r}")
try:
return Fraction(Decimal(text))
except InvalidOperation:
raise ValueError(f"not an integer or decimal: {text!r}")
def parse_fraction_boxes(top, bottom):
"""Parse two boxes. Each must be an integer, and the bottom cannot be zero."""
for part in (top, bottom):
if not part.lstrip("-").isdigit():
raise ValueError(f"fraction boxes need integers, got {part!r}")
numerator, denominator = int(top), int(bottom)
if denominator == 0:
raise ValueError("denominator cannot be zero")
return Fraction(numerator, denominator)
target = Fraction(-3, 4)
attempts = [
("single box", lambda: parse_single_box("-0.75")),
("single box", lambda: parse_single_box("-0.750")),
("single box", lambda: parse_single_box("-3/4")),
("fraction boxes", lambda: parse_fraction_boxes("-3", "4")),
("fraction boxes", lambda: parse_fraction_boxes("-6", "8")),
("fraction boxes", lambda: parse_fraction_boxes("-0.75", "1")),
]
for layout, attempt in attempts:
try:
value = attempt()
print(layout, "->", value, "matches" if value == target else "wrong value")
except ValueError as error:
print(layout, "-> invalid:", error)Running it shows that -0.75 and -0.750 match, -6 over 8 matches because it is an equivalent fraction, and -3/4 in a single box and -0.75 in a fraction box are both invalid in their layouts.
Using the calculator to fill the box
The on-screen calculator has a button that copies its display into the answer box. This avoids retyping errors for long decimals. Two cautions apply:
- The calculator display may show more digits than the question wants. If the question asks for two decimal places, edit the pasted value after transferring it.
- Transferring a value into a fraction layout does not work, because those boxes hold only integers. Compute the numerator and denominator separately and type each.
Common entry errors at a glance
| Mistake | Example | Fix |
|---|---|---|
| Slash in a single box | `3/4` | Type `0.75`, or use fraction boxes if they are shown |
| Decimal in a fraction box | `1.5` over `2` | Convert to integers: `3` over `4` |
| Mixed number | `1 1/2` | Type `1.5`, or `3` over `2` |
| Unit or symbol | `$45`, `45%` | Type `45` and check what unit the question expects |
| Minus sign in the wrong place | `3-` | Type `-3` |
| Rounded when exact was needed | `0.33` for 1/3 in fraction boxes | Type `1` over `3` |
| Over-rounding | `0.7` when two places were requested | Type `0.67` |
| Percent confusion | `0.25` when the answer is 25 percent | Check whether the question asks for a percent or a fraction of 1 |
Edge cases
- Answers that equal an integer. If you get
4.0from the calculator and the question has a single box, type4. Both are the same value, but the plain integer is easier to verify. - Very small decimals. Count zeros carefully.
0.004is four thousandths. A transposed zero changes the answer by a factor of ten. - Negative fractions in two boxes. Keep the sign on the numerator, and keep the denominator positive. This also applies when you start from something like 3 over -4. Rewrite it as -3 over 4.
- Decimal answers that are tidy only as fractions. If you get 0.142857... and fraction boxes are not offered, reread the question. A rounding rule was likely stated, and you may have missed it.
Exercise
A question shows two boxes with a fraction bar. Your calculation gives -18/24 for the value. Name one acceptable entry, and explain why typing -0.75 in the top box would fail.
Show answer
Type -3 in the top box and 4 in the bottom box, or type -18 and 24, since equivalent fractions are accepted and the sign belongs on the numerator. Typing -0.75 in the top box fails because fraction boxes accept only integers, and -0.75 is a decimal.
Exercise
A question has one answer box and asks for 5/8 of a quantity expressed as an exact decimal. What do you type, and what do you avoid typing?
Show answer
Type 0.625. Avoid 5/8, because a single box accepts only integers and decimals, and avoid 0.63, because the question asked for the exact value and 0.63 is rounded.
Exercise
You compute an answer of 0.6666... and the question says "Enter your answer rounded to two decimal places" in a single box. You earlier rounded an intermediate result to 0.67 and used it in later steps. What is the risk, and what should you do instead?
Show answer
Rounding an intermediate value can change the final digits and produce a wrong answer. Carry full precision through all steps and round only the final value, giving 0.67 here if the unrounded final value is 0.6666...