WeBWorK Main Forum

Help with programming a particular problem

Re: Help with programming a particular problem

by Davide Cervone -
Number of replies: 0
Dan:

Looks good. Note that you don't need to set a value for $pi because you never use it. In any case, there is already a variable $PI that contains the most precise version that perl can store, and there is also a function pi that returns the same value, so there is no need ever to write it out by hand.

Davide