Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
INT (fixed) doesn't work (*solved*)
#1
Version zxb 1.2.5-r1489

Code:
DIM a as fixed
LET a=3.5
print a
print INT(a)

Returns
3.5
229376

I think it's getting bit converted to a long. If I do cast(fixed,int(a))) I get back 3.5
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)