check for an even integer - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Data Types : Type Checking : Types : type/evenodd

type/even - check for an even integer

type/odd - check for an odd integer

Calling Sequence

type(x, even)

type(x, odd)

Parameters

x

-

integer

Description

• 

These procedures test whether x is an integer divisible by 2.

Examples

type100,even

true

(1)

type100,odd

false

(2)

typex2,even

false

(3)

See Also

integer, type, type[integer]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam