in reply to Re: Integer vs Float during addition
in thread Integer vs Float during addition
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Integer vs Float during addition
by halley (Prior) on Jun 29, 2006 at 16:10 UTC |