Suppose you are writing VBA macro, you may use the below function to get PI value.
Function PI() As Double
PI = 4 * Atn(1)
End FunctionNOTE: I assume your Math library does not have PI.
Computer News, Technology News, IT, .NET, Databases, Google, Internet, Mobility, Linux, Microsoft, Open Source, Security, Social Media, Web Development, Business, Finance
Function PI() As Double
PI = 4 * Atn(1)
End Function