Converting from a string to a number

  • Yes, there is no easy way to do this, you could set an array with string numbers and then search for the right character inside your string inside a for, converting each string number to a real number.

  • seillehs thx.

    Wow, you are right, I assumed that JSON.parse needed an obj to work.

    Der Inhalt kann nicht angezeigt werden, da Sie keine Berechtigung haben, diesen Inhalt zu sehen.