Difference between revisions of "PreviousPrime Command"

From GeoGebra Manual
Jump to: navigation, search
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.0}}</noinclude>
+
<noinclude>{{Manual Page|version=4.2}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>{{betamanual|version=4.2}}
 
{{command|CAS}}
 
{{command|CAS}}
 
;PreviousPrime[ <Number> ]
 
;PreviousPrime[ <Number> ]

Revision as of 17:31, 12 June 2012

This command works in CAS View only.

PreviousPrime[ <Number> ]
Returns the greatest prime smaller than the entered number.
Example:
PreviousPrime[10000] yields 9973.
Note:
© 2024 International GeoGebra Institute