Jump to content

Recommended Posts

Posted (edited)

Hello all and Gadroc,

 

I made a display for my R-800 radio frequency wheels. The last wheel and display shows the last digits of the radio channel. These end in "00".

 

My label displays "0" instead of "00". Can I get it to act like a proper decimal and display "00" instead?

 

124.000

 

Label 1 = 12

Label 2 = 4

Label 3 = 0

Label 4 = 00 (but displays "0")

 

my display = 124.00 (works fine, just a small nitpick... 124.275 = 124.275 on my display, so no worries. ).

 

 

thank you.

Edited by JG14_Smil
Posted

Yes you can do this. You need to change the binding to lua script instead of trigger value and use string.format like below.

return string.formate("%s", TriggerValue)

 

Just replace %s with the appropriate formatting specifiers. You can find the formatting specifiers here.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...