Invert sign of a number

It seems like EasyMorph doesn’t allow a field to be multiplied by a negative number.

E.g. [Credit] * -1

The solution we came up with is [Credit] * sign(0-1)

It seems like an odd way to do it and not self explanatory to casual users.
Is there a better way?

Thanks
Scott

1 Like

It is odd, but that’s the way it is now. You don’t have to use sign() though. This should work too.

[Credit] * (0-1)

or even

0 - [Credit]
2 Likes

Great, thanks Dmitry.
What you’ve listed makes more sense and I think is easier to understand.

Cheers
Scott