3.5.12.5 ISNA

Description

This function is used to determine whether a value is a missing value or NANUM (not a number).

Syntax

int ISNA(double d)

Parameters

d

Allowed double number.

Return

Return 1 if the input number is a missing value or NANUM, else 0.

Example

aa = NA(); // Assign aa as a missing value
bb = ISNA(aa); // Test if aa is a missing value
bb = ; // Should return 1.
aa = pi; // Assign aa a real value
bb = ISNA(aa); // Test if aa is a missing value
bb = ; // Should return 0.

See Also

NA