please, how can i get an accurate value or function for Pi, VB allows me 2 use 3.14159265358979, but the error increases so much when i work with large figures?

again, given x, i want to implement inverse tangent of x