🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Limit to 2 Decimals in labels in UIFLOW

    SOFTWARE
    3
    3
    2.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      j_doe
      last edited by

      Hi.
      How can I limit the number of decimals shown in a label in UiFlow / Blockly?
      When pulling the volt from I 9 volt battery or the temperature from a sensor I can get 2 decimals, but I also can get up to 7. This doesn't look good in the display.
      How to fix?

      Best Regards
      Jon Magnus

      1 Reply Last reply Reply Quote 0
      • H
        holofloh
        last edited by

        in the section "Text" is a piece that calls "Reduce ... to ... decimal places"

        J 1 Reply Last reply Reply Quote 2
        • J
          jpllabs @holofloh
          last edited by

          Great help. Thanks.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post