Difference between revisions of "PreviousPrime Command"
From GeoGebra Manual
(Autogenerated from properties) |
(command syntax: changed [ ] into ( )) |
||
(10 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
− | + | <noinclude>{{Manual Page|version=5.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> | |
− | <noinclude>{{Manual Page|version= | + | {{command|algebra}} |
− | {{command| | + | ;PreviousPrime( <Number> ) |
− | ;PreviousPrime | + | :Returns the greatest prime smaller than the entered number. |
− | :{{ | + | :{{example| 1=<div><code><nowiki>PreviousPrime(10000)</nowiki></code> yields ''9973''.</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.