T001error

Invalid number literal

A number in a template expression is malformed.

The expression parser could not read a numeric literal, for example because it has two decimal points or a stray letter.

Write the number as a plain integer or decimal, such as 42 or 3.5.

$ piko explain T001

Build output ends each diagnostic with a link to this page, and editors using the Piko language server link the code under the squiggle. Look for CodeInvalidNumberLiteral in Piko's source to see where it is reported.