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 274 views
2 answers 251 views
2 answers 285 views
2 answers 275 views
2 answers 274 views
1 answer 227 views
1 answer 240 views
...