The mathematical PI is a constant and for general purpose, people usually round it down to 3.142. You might want to use PI in your program and here’s how you can write it in your program.
dim pi as double = 4 * Atn(1)
C# & VB.NET
This is already in the Math library.
dim pi as double = System.Math.PI