in reply to 02.5 == 25 - WTF?

You were just unlucky you didn't try

print 09.5, "\n";

which would have made the problem clearer.