How to calculate PI value with acos() function in VB.NET

1 Answer

0 votes
Module Module1

    Sub Main()

        Dim pi As Double

        pi = Math.Acos(-1)

        Console.WriteLine("pi = {0}", pi)

    End Sub

End Module

'run:
' 
' pi = 3.14159265358979

 



answered Mar 30, 2016 by avibootz

Related questions

2 answers 266 views
2 answers 244 views
2 answers 276 views
2 answers 268 views
2 answers 269 views
1 answer 220 views
1 answer 234 views
...