in reply to Integer vs Float during addition

It's even simpler than that,

$str1 = 0.00; print $str1, "\n"; __END__ 0
Perl doesn't enforce any native strong typing, and it freely converts between types. Once experience tells you what to expect, it's liberating to forget about casts, atof and friends.

Zero is zero, and Perl has its own ideas about how to display it.

After Compline,
Zaxo