Pi ? For pawno
#1

Hello guys,

just a short question:
Is there a pre-defined way to get the 'Pi' ? (The 3.14159...)

Thanks for replied.


Jeffry
Reply
#2

You could just do:
pawn Код:
#define pI 3.141592653589793238462643383279502884
Reply
#3

That's what I did, but I wanted to know if there is a function, so it would be more precise.
Reply
#4

Nope, there ain't no function. Just use 3.14.
Reply
#5

Quote:
Originally Posted by RyDeR`
Посмотреть сообщение
Nope, there ain't no function. Just use 3.14.
Okey, thank you.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)