Syntactic Confectionery Delight | |
PerlMonks |
Re: How can I get sine, cosine, and tangent to return values in degrees?by barrachois (Pilgrim) |
on Dec 30, 2002 at 21:01 UTC ( [id://223177]=note: print w/replies, xml ) | Need Help?? |
Rather than have a line like this
which requires you to choose how many digits of pi you (or your operating system) want, and even may require (for some, at least) that you look up the value of pi, I would suggest that a line like this instead will do the right thing.
In Section
Seekers of Perl Wisdom
|
|