To prove whether n is prime, we only need to judge whether n can be 2

To prove whether n is prime, we only need to judge whether n can be 2

VB method
Dim n As Double
n = Text1.Text
a = 2
m = Int(Sqr(n))
s = 0
While a