<< Click to Display Table of Contents >> Navigation: ThinBASIC Core Language > BuiltIn Functions > Numeric functions > IsPrime |
Description
Returns true or false depending if numeric expression is a prime number.
Syntax
n = IsPrime(NumericExpression)
Returns
Number: %TRUE or %FALSE
Parameters
Name |
Type |
Optional |
Meaning |
NumericExpression |
Number |
No |
Any numeric expression |
Remarks
Restrictions
See also
Examples