[Free] Number formatting 3.0 - My first Extension

Here is goes, somebody else gave it me in the thread:

thousand.aia (9.8 KB)

But the extension doesn't works separating?

looks like it haves problems with . I can't find any error in the code. it is strange.

@SimpleFunction(description = "put separators in numbers")
  public String Separate(int number, String separator) {
    String formattednumber = String.format(("%" + separator) + "d", number);
    return formattednumber;
  }

found solution. version 3 is now released, with support for dot.
@Julio_Spinelli

2 Likes