Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Runden in Blockly

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Runden in Blockly

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Mac last edited by

      Hallo, mal wieder eine Anfängerfrage:

      Wenn ich in Blockly die Verbrauchskosten berechne, kommt eine Betrag mit sehr vielen Nachkommastellen heraus, es gibt ja in Mathe einen Block "runden", den bekomme ich aber nicht sinnvoll eingefügt.

      Wie kann ich diesen Block sinnvoll einfügen, danke!

      4489_bildschirmfoto_2018-01-16_um_09.33.17.png

      1 Reply Last reply Reply Quote 0
      • Matzebhv
        Matzebhv last edited by

        Moin,

        probiere das mal so:

        3514_blockly.png

        Matze

        1 Reply Last reply Reply Quote 0
        • Matzebhv
          Matzebhv last edited by

          @Uwe: Du hast natürlich recht. Das fehlt bei meinem Beispiel für ein sinnvolles Ergebnis 🙂

          Matze

          1 Reply Last reply Reply Quote 0
          • M
            MagicSven last edited by

            @Matzebhv:

            @Uwe: Du hast natürlich recht. Das fehlt bei meinem Beispiel für ein sinnvolles Ergebnis 🙂

            Matze ` Kann man auch auf Nachkommastelle runden?

            Gesendet von meinem SM-G960F mit Tapatalk

            1 Reply Last reply Reply Quote 0
            • Dr. Bakterius
              Dr. Bakterius Most Active last edited by

              @MagicSven:

              Kann man auch auf Nachkommastelle runden? `
              Dazu habe ich auch nichts gefunden aber für mich so gelöst:

              Eine Nachkommastelle: Zahl mit 10 multiplizieren; runden; Ergebnis durch 10 dividieren

              Zwei Nachkommastellen: Wie oben, aber mit 100 multiplizieren bzw. dividieren statt mit 10.

              1 Reply Last reply Reply Quote 1
              • S
                Siegfried Forum Testing last edited by

                Funktioniert super so (in diesem Fall auf 3 Nachkomma)
                5988_bitmap.png

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

                Support us

                ioBroker
                Community Adapters
                Donate

                491
                Online

                31.7k
                Users

                79.9k
                Topics

                1.3m
                Posts

                5
                6
                6847
                Loading More Posts
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes
                Reply
                • Reply as topic
                Log in to reply
                Community
                Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                The ioBroker Community 2014-2023
                logo