Difference between Format and Str?

  1. last year

    Is there a difference between the Format and Str functions?

    For example, are there any differences between

    ThisString = Format (a * b, "###.0")


    ThisString = Str (a*b, "###.0")
  2. Tobias B

    12 Jun 2019 Testers, Xojo Pro Bern, Switzerland

    AFAIK, Format is locale specific whereas Str always uses US locale.

  3. Norman P

    12 Jun 2019 Testers, Xojo Pro outside admiring the sunshine,...

    Format will use the correct localized decimal and thousands separators
    So in France etc it would use " " and "," for those separators
    Str NEVER does and ALWAY uses , and .

  4. Thanks.

or Sign Up to reply!