VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Get PI

Ramon_Morales  (1 Submission)   Math/Dates   Visual Basic 3.0   Beginner   Wed 3rd February 2021

Another PI program. This one allows you to get PI for any number of decimal places up to 1000. It doesn't calculate PI, it is hard coded in! All you do is pass the number of decimal places required.

Inputs
Pass a number between 1 and 1000 and the function will return PI to that many decimal places.

Assumes
This is a function. Put in a code module. Any questions contact at me at codecommandos.com or visit my web site www.codecommandos.com .

Returns
Pi with the number of decimal places that the user requested.

Side Effects
None (just my tired fingers ;-)

Rate Get PI (4(4 Vote))
Get PI.bas

Get PI Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters