Ok, you took it the opposite direction. Boolean context doesn't force anything. Print forces to string. 0+ forces to number.
The string '0.00' is true, but numeric zero is false.
After Compline,
Zaxo
In reply to Re^2: Integer vs Float during addition
by Zaxo
in thread Integer vs Float during addition
by chrism01
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |