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

Re: grep integer and fractional part from a division (modulus ?)

by injunjoel (Priest)
on Aug 11, 2006 at 16:31 UTC ( #566881=note: print w/ replies, xml ) Need Help??


in reply to grep integer and fractional part from a division (modulus ?)

How about...

my ($a, $b) = split(/\./, (301/60));
That?

-InjunJoel
"I do not feel obliged to believe that the same God who endowed us with sense, reason and intellect has intended us to forego their use." -Galileo


Comment on Re: grep integer and fractional part from a division (modulus ?)
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2015-07-05 22:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (68 votes), past polls