For example, the main page would say:
Code: Select all
UV Index Forecast UV Index Forecast
12/02/2014 12/03/2014
7.6 High 7.2 High
Code: Select all
Tue Wed
7.6 7.2
Very High High
I just changed the wxuvforecast.php script to truncate the values instead of rounding them, and that seems to fix it for me. This was the change I made:
Code: Select all
107c107
< <td align="center"><?php echo get_uv_word(round($UVfcstUVI[$i],0)); ?></td>
---
> <td align="center"><?php echo get_uv_word(floor($UVfcstUVI[$i])); ?></td>
129c129
< $ourUVrounded = round($uv,0);
---
> $ourUVrounded = floor($uv);