Am using the LED Meter to display some data from the the SQL DB, however i need it to display "00" rather than "0" when the data value is zero.
i have tried to change this without success. Any advice please.
Here is a bit of a dirty solution but it may work. Perhaps you can fake it with two meters on top of each other. One is of two digit span showing the number. The other is of single digit span showing int(number/10) and placed on top ot the lower led.
Does your sql return 00?
Yes, the query will return "00" then "01" to "09" happily, even when "Testing" the LED Meter beforeing applying the result is correct. The actual output on the meter display is still single digit.
the settings for the LED Meter are set to "2 Whole places", Multiplier & Divisor are set to 1.
I did initially think of that, but ruled it out as being a very dirty answer to what i though of as an easy question, especially when you click "TEST" when finished configuring the LED Meter, the value returned is what i want to see. Just, it is not translated directly into the meter that way.
Do you need the led object cause a text object with your returned data should display your data correctly and can be formatted nicely.
i could of course, i do like how the LED format though...
Retrieving data ...