Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^5: Padding with sprintf changing number

by BillKSmith (Monsignor)
on Sep 24, 2021 at 17:11 UTC ( [id://11136997]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    
    print "\n\nNot quite an integer\n";
    amnt(488715 - 4e-10);
    
  2. or download this
    EXACT integer
    488715 i m checking amount before padding,
    ...
    Not quite an integer
    488715 i m checking amount before padding,
    0000000000488714 i m checking amount after padding,
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11136997]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-25 23:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found