Skip to main content
September 23, 2021
Question

how to make the returning information transfer from Chinese to English

  • September 23, 2021
  • 2 replies
  • 0 views

typename(
typeof(
4.2
)
)

This some time return "Number (Decimal)", or return"数字(小数)",how i can make it return English only?

    2 replies

    stefanhelzle0001
    Brainy
    September 23, 2021

    The type names are returned depending on the language settings in your profile.

    peter.lewis
    Employee
    September 24, 2021

    This is an important concept - expressions will run with the context of the current user. So suppose you're using different logic depending on the type (e.g. if the type is decimal show one field type; if it's integer show a different field type). It's better to use only typeof() since that returns a number and it would be consistent in every language.