Spartacus commented on a Page, Math Functions  -  Jun 11, 2008

As for even/odd:

alias iseven { if (N & 1) return $false | else return $true }

average:

alias avg { if ($remove($1-,$chr(32)) isnum) return $calc(($replace($1-,$chr(32),+)) / $0) }

Just some cool, efficient ideas I thought I\'d share with you.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.