Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Strange behavior with double variables
#6
Macro Macro126
Code:
Copy      Help
double n

n=3/2
out n;; n=1 ??

n=3.0/2
out n;; ok

n=3
n=n/2
out n

Why?


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)