Mathematical & Trig function in Access

A

Allen Browne

Josephine Ng said:
anyone know if there is a PI function in access?

Paste the function below into a standard module in your database.
You can then use Pi() anywhere you need 3.14159265358979.

Public Function Pi() As Double
Pi = Atn(1) * 4#
End Function
 
Top