in reply to issue with sprintf..
I get four times the same value, so it works for me. Also, it looks as if you want to pad shorter than 11-digit numbers with leading zeroes, this can be achieved by
$Val1 = sprintf("%011d", $Val1);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: issue with sprintf..
by LanX (Saint) on Jan 09, 2014 at 10:30 UTC | |
by hdb (Monsignor) on Jan 09, 2014 at 10:32 UTC | |
by LanX (Saint) on Jan 09, 2014 at 10:33 UTC | |
by hdb (Monsignor) on Jan 09, 2014 at 10:37 UTC | |
by LanX (Saint) on Jan 09, 2014 at 10:47 UTC |