A
AltaEgo
Set a variable and use the variable
PI = Application.WorksheetFunction.Pi()
C = 2*PI*R
PI = Application.WorksheetFunction.Pi()
C = 2*PI*R
Accuracy, portability, compatibility?
Prof Wonmug said:I did. It was my second choice. Using the worksheet
function is a little more obvious, that's all.
Prof Wonmug said:Accuracy, portability, compatibility?
On the other hand, Wonmug had used WorksheetFunction.PI().
[....]
Entering a constant with decimal fractions that is not
exactly the sum of up to 53 consecutive powers of 2 might
not be portable.
example, then the calculation would return
a number with 28 significant digits
(0.3854422854886583808804090009 to be exact).
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.