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 Function
NOTE: I assume your Math library does not have PI.
Computer, Technology, Databases, Google, Internet, Mobile, Linux, Microsoft, Open Source, Security, Social Media, Web Development, Business, Finance
Function PI() As Double PI = 4 * Atn(1) End Function
No comments:
Post a Comment
Do provide your constructive comment. I appreciate that.