typename( typeof( 4.2 ))
This some time return "Number (Decimal)", or return"数字(小数)",how i can make it return English only?
Discussion posts and replies are publicly visible
The type names are returned depending on the language settings in your profile.
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.