Mathematical & Trig function in Access

  • Thread starter Thread starter Josephine Ng
  • Start date Start date
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top