[EMAIL PROTECTED] writes:
> 
> this solution was the first that i tried.. but this does not run correctly.. 
> because:
> 
> when we try to sort this number in alphanumeric order we obtain that number 
> -0010 is higher than -0001
> 
right. I failed to see that.
So you would have to use a complement for negative numbers as well e.g. using
-9989 for -10, -9998 for -1, ...

But shifting the interval is easier of course.

Morus

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to