Manuals/calci/ISPRIME

From ZCubes Wiki
Revision as of 20:38, 24 October 2013 by MassBot1 (talk | contribs) (Created page with "<div id="6SpaceContent" class="zcontent" align="left"> '''ISPRIME'''(SomeNumber) where '''SomeNumber '''is any real number. </div> ---- <div id="1SpaceContent"...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

ISPRIME(SomeNumber)

where

SomeNumber is any real number.


ISPRIME function determines whether the given number is a prime number or not.

ISPRIME function returns 1 if the given number is prime and returns 0 if the given number is not prime.


ISPRIME returns NaN if SomeNumber is not real


ISPRIME


Lets see an example in (Column2Row1)

=ISPRIME(Column1Row1)

Returns 1 for ISPRIME(3)

Consider another example in (Column2Row2)

=ISPRIME(Column1Row2)

Returns 0 for ISPRIME(4)


Syntax

Remarks

Examples

Description