Error Messages/46006
Example error message
- In the formatted text literal (f-string) format specifier, the number type is specified twice. '%' specifies percent format, and then 'x' specifies hexadecimal format.
Description
The above error appears when the following Formatted Text Literal is encountered:
F"1/3 = {1/3 : %x}"
In the inserted expression, the part that comes after the colon, %x
, is the format specifier. In this example, both %
and x
are different number format types. You can specify the number format type only once.
Only one of the following characters can appear: SsFfEeGgIi%PpBbHhXx
The one exception is that after a D
, which starts the date-time template, these characters can appear again.
See Also
Comments
Enable comment auto-refresher