Description
Join them with en dash and wrap each negative endpoint in parentheses.
An interval's endpoints and bracket style encode inclusion rules. A range label or comparison symbol can describe supplied numbers without computing its members, proving an inequality or establishing a statistical confidence interval.
Join them with en dash and wrap each negative endpoint in parentheses.
When to use this tool
Use En Dash Numeric Range Sign Guard when you need the specified interval or relation display.
How to use the tool and how it works
- Enter lower, upper. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read text. Use the output convention below.
Require lower no greater than upper. Join them with en dash and wrap each negative endpoint in parentheses.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| lower | Lower | Required. Finite number. |
| upper | Upper | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| text | Literal formatted output under the stated grammar and display convention. | Required. Text; maximum UTF-16 length 8192. |
{
"input": {
"lower": -5,
"upper": -2
},
"output": {
"text": "(-5)–(-2)"
}
} Limitations and assumptions
- The operation formats a numeric range without endpoint-inclusion semantics, unit conversion, locale formatting, or Unicode minus substitution.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Use a set or interval calculation for membership and emptiness beyond the supported convention. Verify units, unbounded endpoints and integer-versus-real interpretation before using a label as a mathematical specification.
References
Similar or alternative tools
- Formatting: Numeric Open Closed Interval Label
Select square or round endpoint brackets independently and flag an equal-endpoint interval empty unless both ends are closed.
- Interval Unbounded End Glyph Policy
Use open parentheses and infinity glyphs for unbounded ends; use closed brackets and supplied literal endpoint text for bounded ends.