Difference between revisions of "PreviousPrime Command"
From GeoGebra Manual
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version=4.2}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>{{betamanual|version=4.2}} | + | <noinclude>{{Manual Page|version=4.2}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>{{betamanual|version=4.2}} |
+ | {{command|algebra}} | ||
;PreviousPrime[ <Number> ] | ;PreviousPrime[ <Number> ] | ||
:Returns the greatest prime smaller than the entered number. | :Returns the greatest prime smaller than the entered number. | ||
:{{example| 1=<div><code><nowiki>PreviousPrime[10000]</nowiki></code> yields ''9973''.</div>}} | :{{example| 1=<div><code><nowiki>PreviousPrime[10000]</nowiki></code> yields ''9973''.</div>}} | ||
{{note| 1=<div>See also [[NextPrime Command]].</div>}} | {{note| 1=<div>See also [[NextPrime Command]].</div>}} |
Revision as of 08:20, 9 July 2012
This page is about a feature that is supported only in GeoGebra 4.2. |
- PreviousPrime[ <Number> ]
- Returns the greatest prime smaller than the entered number.
- Example:
PreviousPrime[10000]
yields 9973.
Note:
See also NextPrime Command.