Navigation:  ThinBASIC Modules > Core (thinBasic Core Engine) > Numeric functions >

IsNegative

Previous pageReturn to chapter overviewNext page

 

Description

 

Returns 1 if numeric expression is negative, otherwise 0 (zero).

 

Syntax

 

n = IsNegative(NumericExpression)

 

Returns

 

Number: 1 or 0

 

Parameters

 

Name

Type

Optional

Meaning

NumericExpression

Number

No

Any numeric expression

 

Remarks

 

Restrictions

 

See also

 

Examples