Page 1 of 1
Bug report for $int()
Posted: Mon Aug 25, 2003 12:02 pm
by Zxeses
/echo $int(1) (this is for example only)
results in 1
The Bug:
/echo $int($char(speed))
results in junk
If I'm standing still, my $char(speed) should be 0.00, and $int() should change that to just 0
Posted: Mon Aug 25, 2003 9:26 pm
by Valerian
Interesting. $char(speed) eats a character. I'll get onto fixing that when I get a chance... meanwhile, try $int($char(speed) ) (note the space) or add an extra ) on the end...
Posted: Mon Aug 25, 2003 10:02 pm
by dont_know_at_all
===================================================================
RCS file: /cvsroot/macroquest/macroquest/EQLib/EQLib_MacroParser.cpp,v
retrieving revision 1.14
diff -r1.14 EQLib_MacroParser.cpp
1957c1957
< i+=11;
---
> i+=10;
Posted: Mon Aug 25, 2003 11:41 pm
by Valerian
yeah, that... was way too tired to think of code when I responded to this.. heh.
Re: Bug report for $int()
Posted: Fri Jan 23, 2026 7:28 pm
by xyilla
Re: Bug report for $int()
Posted: Fri Jan 23, 2026 7:29 pm
by xyilla
Re: Bug report for $int()
Posted: Fri Jan 23, 2026 7:30 pm
by xyilla
Re: Bug report for $int()
Posted: Fri Jan 23, 2026 7:33 pm
by xyilla