in reply to Comparison based on type of value held by variables
They do match because their value is 0.
please also note, that you should remove leading zeros. Please compare the outputs:
print 5+010; print 5+010.4; print 5+ 10; print 5+ 10.4;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Comparison based on type of value held by variables
by ranjan_jajodia (Monk) on Oct 18, 2005 at 13:52 UTC | |
by Skeeve (Parson) on Oct 18, 2005 at 14:10 UTC | |
by ranjan_jajodia (Monk) on Oct 18, 2005 at 14:11 UTC |