# Wolfram Language & System 10.0 (2014)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.
WOLFRAM LANGUAGE INTERPRETER TYPE

# "SemanticNumber" (interpreter type)

Number in a standard format or in natural language.

## Allowed FormsAllowed Forms

•  1234, -1234, etc. integers 12.34 real numbers 12.45e45, 1.2E-5 numbers in scientific notation 12,345.67 numbers with separators two, a fifth numbers in natural language 3/5, -1/2 rational numbers

## Restriction SpecificationsRestriction Specifications

•  Restricted["SemanticNumber",{{choices1,…}}] one among choices Restricted["SemanticNumber",max] a number below max Restricted["SemanticNumber",{min,max}] a number between min and max Restricted["SemanticNumber",{min,max,s}] a number between min and max, with step s

## ExamplesExamplesopen allclose all

### Basic Examples  (3)Basic Examples  (3)

Interpret numbers:

 Out[1]=
 Out[2]=

Interpret numbers in natural language:

 Out[1]=
 Out[2]=

Restrict in a range:

 Out[1]=

Restrict to the first five prime numbers:

 Out[1]=

Restrict to odd numbers below 100:

 Out[1]=