I have a feature
feature --compare
is_less alias "<" (other: MONEY): BOOLEAN
-- Is current money less than `other'?
local
temp: BOOLEAN
do
temp := cents < other.cents
Result := temp
end
It just checks two number of cents (cents < other.cents) is greater than. I cannot get the Result to return true even if i set it too true:
Result := temp -----> Result := true