4D v16.3GET SYSTEM FORMAT |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
GET SYSTEM FORMAT
GET SYSTEM FORMAT
The GET SYSTEM FORMAT command returns the current value of several regional parameters defined in the operating system. This command can be used to build “automatic” custom formats based on the system preferences. In the format parameter, pass the type of parameter whose value you want to know. The result is returned directly by the system in the value parameter as a character string. In format, you must pass one of the following constants of the System Format theme. Below is a description of these constants:
On a check that is filled in mechanically, the amounts written are generally prefixed by “*” characters in order to prevent fraud. If the standard system display format for currency is “$ 5,422.33”, the format for checks should be of the type “$***5432.33”: no comma after the thousand digit and no space between the $ symbol and the first number. The format to be used with the String function must be “$*******.**”. To build it via programming, it is necessary to know the currency symbol and the decimal separator: GET SYSTEM FORMAT(Currency symbol;$vCurrSymb)
See also
|
PROPERTIES
Product: 4D HISTORY
Created: 4D v11 SQL ARTICLE USAGE
4D Language Reference ( 4D v16) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||