![]() ![]() ![]() The flag field parameters specify the alignment of the formatted value, the output of signs, spaces and the binary/octal/hex prefixes. One or more flags can be specified in any desired order in the flag field. Reserved for future use.įloating point numbers in scientific notationġ The content of the REAL variable is returned as a binary, octal, hexadecimal or decimal string.Ģ The content of the signed types is returned as a binary, octal, hexadecimal or decimal string.ģ The REAL variable is converted to the LREAL type and then formatted. Lower case letters ('abcdef') are used for formatting. Upper case letters ('ABCDEF') are used for formatting. The sign only appears for negative values.Ĭharacters are output until the final zero or the precision field parameter has been reached. If the length of the formatted string exceeds the maximum permissible length of the resulting string, '#OVF' or '-#OVF' is returned.īYTE, WORD, DWORD, SINT, INT, DINT, USINT, UINT, UDINT ![]() If the variable transferred has an illegal value (NaN, Not-a-Number), '#QNAN' or '-#QNAN' is returned. '#INF' is returned for an infinite positive value and '-#INF' for an infinite negative value. The sign only appears for negative values. The number of digits after the decimal point depends on the required precision. The number of digits before the decimal point depends on the value of the floating point number. The string has the form dddd.dddd, (dddd are decimal numbers). Note that some type field parameters are case-sensitive.īYTE, WORD, DWORD, REAL 1,SINT 2, INT 2, DINT 2, USINT, UINT, UDINTīYTE, WORD, DWORD, SINT 2, INT 2, DINT 2, USINT, UINT, UDINT The type field contains an ASCII character, which specifies whether the associated argument is interpreted as a string, an integer or a floating point number. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |