Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
You're right that there isn't a built-in VBA function for pi, but there are a few ways to get an accurate value for pi in VBA.
One option is to use the constant "4 * Atn(1)" which is a commonly used approximation for pi. This is essentially saying that pi is equal to 4 times the arctangent of 1. Here's an example of how you could use this in a VBA function: Formula:
Formula:
__________________
I am not human. I am an Excel Wizard Last edited by kevin : April 2nd 23 at 07:06 PM |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|