Select dropdown not showing selected value php

The reason your $item == $option condition is always failing is because of the way PHP compares floats!

Try the following instead:

echo "<option value="$item"" . selected (abs ($item - $options) <= 0.01, true, false) . ">$item</option>" ;

See Comparing floats for more info.