4 weeks ago
Hi Masters,
Does "Length" or "Output Length" determine the maximum length that a variable type can have?
Does Output Length mean including the value after the comma (decimal)? Or is it length?
What is the maximum value I can give for this domain? Can I show the value 1234567891234.12?
Where should I look for the integer part?
Thanks
Hello @yalcin_mete
Length is the domain length including decimal places excluding format characters.
In your case, the domain is WERT11, length 11, decimal places 2. It means you can store there 9 digits of integer part.
Output length is 14, which includes format characters i.e. thousands separator and decimal point:
depending on your decimal notation setting.
Best regards
Dominik Tylczynski
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To add to it in a broader context:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yalçın,
"Length" determines the maximum length that a variable type can have. So in your example field NETPR(11,2) with CURR type can hold value max 11 like 123456789.12 or 123456789.00 *
"Output Length" is determines the length for the display including thousand and decimals separators. For examples above like 123,456,789.12 or 123,456,789.00 which are 14 length. *
*Just corrected examples with Sandra's warnings. Thanks.
Regards,
Tuncay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
11 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.