C
Cameron Sutherland
Here is a bit a a hack but...
FixedValue:CInt((Abs([Quantity]) + [Quantity]) / 2)
Explanation:
(Abs([Quantity]) + [Quantity]) / 2)
The Abs returns positive of any value put in. The add and
division does your rule about making any negative value a
0. CInt returns only the whole number and rounds the
decimals.
-Cameron Sutherland
FixedValue:CInt((Abs([Quantity]) + [Quantity]) / 2)
Explanation:
(Abs([Quantity]) + [Quantity]) / 2)
The Abs returns positive of any value put in. The add and
division does your rule about making any negative value a
0. CInt returns only the whole number and rounds the
decimals.
-Cameron Sutherland