Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Get the Smallest Number

by si_lence (Deacon)
on Aug 11, 2009 at 12:36 UTC ( #787599=note: print w/ replies, xml ) Need Help??

in reply to Get the Smallest Number

I don't see an array in your data structure at all. It looks more like part of a 'Hash of Hashes'.
You first need access the data you are interested in (maybe using two nested foreach keys) and then split the string by |, capturing the number of interest and find the min.
If you show the code you have so far it would be much easier to provide you with more specific help.
cheers, si_lence

Comment on Re: Get the Smallest Number
Download Code
Replies are listed 'Best First'.
Re^2: Get the Smallest Number
by Anonymous Monk on Aug 11, 2009 at 15:17 UTC
    Why even if you have these two values at the end the IF statement still does work?
    if( 55.05 <= 0.00){ print "OK\n"; }else{ print "No\n"; }

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2015-11-30 01:18 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (755 votes), past polls