# Numbers

Data types representing various kinds of numbers

### Note

MuPAD® notebooks will be removed in a future release. Use MATLAB® live scripts instead.

To convert a MuPAD notebook file to a MATLAB live script file, see `convertMuPADNotebook`. MATLAB live scripts support most MuPAD functionality, although there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.

 `Type::NegInt` Type and property representing negative integers `Type::NegRat` Type and property representing negative rational numbers `Type::Negative` Type and property representing negative numbers `Type::NonNegInt` Type and property representing nonnegative integers `Type::NonNegRat` Type and property representing nonnegative rational numbers `Type::NonNegative` Type and property representing nonnegative numbers `Type::PosInt` Type and property representing positive integers `Type::PosRat` Type and property representing positive rational numbers `Type::Positive` Type and property representing positive numbers `Type::NonZero` Type and property representing “unequal to zero” `Type::Zero` Type and property representing zero
 `Type::Complex` Type and property representing complex numbers `Type::Imaginary` Type and property representing imaginary numbers `Type::Real` Type and property representing real numbers
 `Type::Even` Type and property representing even integers `Type::Integer` Type and property representing integers `Type::Numeric` Type representing numerical objects `Type::Odd` Type and property representing odd integers `Type::Prime` Type representing prime numbers `Type::Rational` Type and property representing rational numbers `Type::Residue` Property representing a residue class

## Examples and How To

Choose Appropriate Data Structures

When you create a new MuPAD object, you choose the domain type of that object either explicitly or implicitly.

## Concepts

Data Type Definition

MuPAD stores all objects as elements of particular domains.

Type Checking and Mathematical Properties

Use only in the MuPAD Notebook Interface.

#### Mathematical Modeling with Symbolic Math Toolbox

Get examples and videos