Re: Whoops! abs & rad

new topic     » topic index » view thread      » older message » newer message

John Worthinhton wrote

>> Roy Shepherd wrote:
>> Doug Cox wrote:
>> > While doing some porting from QBasic to Euphoria,
>> Well hears my answer to abs and rad a another function missing from
>> function rad(atom sum)
>> sum = sum + (180/PI)
>> return sum
>> end function
>
>um, a monster seems to have spawned on the abs function so I'm hesitant,
>but .....  Shouldn't that be "sum = sum * 180 / PI" instead of +???
>
I stand corrected. Apologises to all. Well spotted John.

Regards
Roy

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu