|
|
On 2015-11-27 02:45, clipka wrote:
> That's only true if the number in question is known to be negative.
>
I know, but that was what the OP asked for.
> In that case, however, it is easier and more efficient to just use the
> unary minus operator:
>
> #declare PositiveNumber = -NegativeNumber;
That works too, but then it's really just masking the fact that you are
doing what I said... i.e. multiplying by -1.
Todd
Post a reply to this message
|
|