Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Maths Problem
#2
In other programs the same.
You can use CURRENCY or DECIMAL type instead of double. Then don't use operators. Use sub and other functions. CURRENCY is limited to 4 digits after .

Macro
Code:
Copy      Help
DECIMAL a= 25.40
DECIMAL b= 25.35
DECIMAL c
c.sub(a b)
out c


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)