I have got some good help earlier and hopefully you also can help me with this one. Probably a simple solution but I struggle.
The code below works fine on the $data_from_external_source till 9.9 m/s
but from 10.0 m/s it won’t “play”. Any Suggestion on what I do wrong here? ???
[php]
<?php $a = '0.2 m/s'; $b = '1.5 m/s'; $c = '3.3 m/s'; $data_from_external_source = '10.0 m/s'; if($data_from_external_source <= $a) { echo "text 1 ($data_from_external_source)"; } if($data_from_external_source >$a && $ data_from_external_source <=$b) { echo "text 2 ($data_from_external_source)"; } if($data_from_external_source > $b && $ data_from_external_source <=$c) { echo "text 3 ($data_from_external_source)"; } else { echo 'text4'; } ?>[/php]