Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Wort aus String entfernen

    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

    Wort aus String entfernen

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

      Hi hoffe ihr könnt mir helfen. Bekomme ein String von 6,4 GB

      Möchte das GB entfernen so das ich die Zahl in node Reed als number verwenden kann.

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

        Wenn das ein Komma zwischen den Ziffern ist, https://wiki.selfhtml.org/wiki/JavaScript/Objekte/String/replace dies durch einen Punkt aus. Anschließend kann es mit https://wiki.selfhtml.org/wiki/JavaScript/parseFloat in eine Zahl gewandelt werden.

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

        Support us

        ioBroker
        Community Adapters
        Donate

        908
        Online

        31.7k
        Users

        79.9k
        Topics

        1.3m
        Posts

        2
        2
        350
        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