<-- Previous || Up || Next -->

Next Prime Sample Function
Math Arithmetic Class

Private Function NextPrimeSample()
    ' Print some samples of the NextPrime function.

    Dim dblCur As Double
    For dblCur = -7.5 To 7.5 Step 0.5
        Debug.Print Format$(dblCur, "0.0") & " " & NextPrime(dblCur)
    Next dblCur
End Function

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.