<< Click to Display Table of Contents >> Navigation: ThinBASIC Core Language > BuiltIn Functions > Numeric functions > IsPositive |
Description
Returns 1 if numeric expression is positive, otherwise 0 (zero).
Syntax
n = IsPositive(NumericExpression)
Returns
Number: 1 or 0
Parameters
Name |
Type |
Optional |
Meaning |
NumericExpression |
Number |
No |
Any numeric expression |
Remarks
Restrictions
See also
Examples