Expand my Community achievements bar.

ocen12
ocen12
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • 2. is easy, you don't need to formate it...Textfield1.rawValue = "Text1 " + Math.round(MBn*100) /100 + " Text2";For the first question:To say the truth I am not sure if I got your problem.MBn = Math.round(MBn *100) /100MBn has two after digits then.Only the "event" you put it in feels somehow... str...

    Type

    Questions

    Views

    3.3K

    Likes

    0

    Replies

    0
  • Huh?I didn't post my script...It sure is no clean programming since I just took Steve's solutions and delted the ligns I didn't want (the app allert)Though in the end I've taken the boolean out, or better replaced it with the replacement function, it repeats the replacement no matter how much "ü"'s ...

    Type

    Questions

    Views

    9.8K

    Likes

    0

    Replies

    0
  • Find a single character and replace it with a stringvar str = this.rawValue;var wordArray = str.split("ü");this.rawValue = wordArray[0] + "ue" + wordArray[1];Didn't work, when the same char was more than one time in the field.But the bolean did the job.ThanxLisa

    Type

    Questions

    Views

    9.8K

    Likes

    0

    Replies

    0
  • Is there also a short possibility to search for a special character in a value?Like if it contains an "a" = "true".If it contains no "a" = "false".I want to create a similar script with no variable.this.rawValue = this.rawValue.replace(/ü/,"ue")Works for the first character, but not for the followin...

    Type

    Questions

    Views

    9.8K

    Likes

    0

    Replies

    0