Difference between Format and Str?

  1. 2 weeks ago

    Is there a difference between the Format and Str functions?

    For example, are there any differences between

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

    and

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

    Jun 12 Pre-Release Testers, Xojo Pro Bern, Switzerland

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

  3. Norman P

    Jun 12 Pre-Release Testers, Xojo Pro www.great-white-software.com/b...

    yes
    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!