extended_numeric - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


type/numeric

check for an object of type numeric

 

Calling Sequence

Parameters

Description

Subtypes

Supertypes

Examples

Calling Sequence

type(x, numeric)

Parameters

x

-

any expression

Description

• 

The type(x, numeric) function returns true if x is an integer, fraction, or finite floating-point number.

Subtypes

• 

type/rational

Supertypes

• 

type/extended_numeric, type/finite, type/literal

Examples

type1,numeric

true

(1)

type12,numeric

true

(2)

type1.5,numeric

true

(3)

typeName,numeric

false

(4)

typeab,numeric

false

(5)

type,numeric

false

(6)

type,extended_numeric

true

(7)

typeFloatundefined,numeric

false

(8)

typeFloatundefined,extended_numeric

true

(9)

See Also

infinity

type

type/extended_numeric

type/finite

type/float

type/fraction

type/infinity

type/integer

type/rational

type/realcons

type/undefined

undefined