eeeek.

Battery OK - 2.6226000000000003

k, how do I format a float in this cheetah template language?  I mean, I 
assume thats what sensor.inc is ?

#if $x >= 2.455
<span class="status_ok">OK - *$x*</span>
#else
#if $x >= 2.41
<span class="status_low">LOW - mode 1 - *$x*</span>
#else
#if $x >= 2.39
<span class="status_low">LOW - mode 2 - *$x*</span>
#else
<span class="status_low">LOW - mode 3 - *$x*</span>
#end if
#end if
#end if


-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/e11c96ec-6a32-4111-897d-ecca60f7da1en%40googlegroups.com.

Reply via email to