Aruna Goke wrote:
I have worked on the code below and am able to generate the 15digit lenght required .

However, what i wish to achieve is to make sure all the output comes out in 15 digits each. a sample of my output is as below.

Can someone guide on how to make all come out in 15digits.

print sprintf( '%.30f', rand ) =~ /\.(\d{15})/;


John
--
Perl isn't a toolbox, but a small machine shop where you
can special-order certain sorts of tools at low cost and
in short order.                            -- Larry Wall

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to