So if I have the below array I would like to find the smallest dollar amount >0. I would like it to return the key and not the dollar value. So the below should return JOHN as the lowest dollar amount. How can it be done?
Tracy🙂
$arr = array(
"FRED" => "1.11",
"JOHN" => "0.99",
"MARY" => "10.99",
"JOE" => "0.00" );