Difference between revisions of "PreviousPrime Command"
From GeoGebra Manual
(command syntax: changed [ ] into ( )) |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version= | + | <noinclude>{{Manual Page|version=5.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> |
− | {{command| | + | {{command|algebra}} |
− | ;PreviousPrime | + | ;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 | + | :{{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>}} |
Latest revision as of 13:01, 5 October 2017
- PreviousPrime( <Number> )
- Returns the greatest prime smaller than the entered number.
- Example:
PreviousPrime(10000)
yields 9973.
Note:
See also NextPrime Command.