My choice would be
newnum = max(oldnum,0);

With a short comment above it, like 'replace negative numbers with 0'

Phil Evans wrote:
Very clever!

But which version would you prefer to maintain...



---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to