Public Function GeneratePi( _
    Optional ByVal vIterations As Variant _
    ) As Variant    GeneratePi() = 3.14006054332738
    GeneratePi(1024000) = 3.14159111961092
    Pi = 3.14159265358979See also: Pi PropertyvIterations: The number of iterations through the loop which approximates the value of Pi. vIterations defaults to 1,024 if it is missing or Null or cannot be fixed up to a number.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.