John M. Dlugosz has asked for the wisdom of the Perl Monks concerning the following question:
Why doesn't the leading + work? I thought that was supposed to do it.
FWIW, printf with %d and int work OK, but give warnings too.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re: forcing numeric context
by tye (Sage) on Dec 17, 2002 at 22:46 UTC | |
by John M. Dlugosz (Monsignor) on Dec 18, 2002 at 05:35 UTC | |
by tye (Sage) on Dec 18, 2002 at 15:14 UTC | |
by John M. Dlugosz (Monsignor) on Dec 18, 2002 at 15:20 UTC | |
by tye (Sage) on Dec 18, 2002 at 15:39 UTC | |
| |
|
Re: forcing numeric context
by Anonymous Monk on Dec 17, 2002 at 22:45 UTC | |
|
Re: forcing numeric context
by tachyon (Chancellor) on Dec 17, 2002 at 22:48 UTC | |
by John M. Dlugosz (Monsignor) on Dec 18, 2002 at 05:27 UTC | |
|
Re: forcing numeric context
by dpuu (Chaplain) on Dec 17, 2002 at 22:48 UTC |