HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

a 100% worthless native function confirmed

12-19-2003, 06:31 PM#1
weaaddar
Most of us have known and assumed that the I2R function was completely worthless function and blizzard has just confirmed that.

http://www.battle.net/forums/war3/th...nt=3#post87964
12-20-2003, 06:37 AM#2
dataangel
Not necessarily -- casting versus converting with I2R might round differently. Should test.
12-20-2003, 10:24 AM#3
Vidstige
I can't really see why rounding is needed when casting/converting from an integer to a real.
12-20-2003, 12:08 PM#4
Peppar
I believe this function remains for backwards compability. I'm not certain, but I believe previous versions of Warcraft didn't cast automatically.

EDIT: It just might have been casting reals to integers that I was thinking of, which still doesn't work automatically.
12-20-2003, 01:39 PM#5
weaaddar
There is no need for the function, other then probably for the GUIs sake.