Inconsistencies in SetFormattedText
by Kameril | 18/11/2007 09:26:10![]() It seems they disagree on rounding. Obviously flooring the float would solve the problem but it seems to me it should be consistent with Lua's string.format regardless. local function print(msg) TestFormats(.4) => 0, 0 as expected TestFormats(.6) => 0, 1 SetFormattedText rounds up http://ctprofiles.net/81038 |
by Slouken | 20/11/2007 00:59:27![]() Fixed for 2.3.2, thanks! |
Hot: Upcoming Alterac Valley Improvements in Patch 2.4


Recent Blizzard Announcements

