interp-format
What it means#
A value's format in a body's text (${v:…}) that is not its decimals: ${v:0.00} writes a number with two, in every target (Python's .2f, C's %.2f, Rust's {:.2}, JavaScript's toFixed(2)). A ui's other formats (# ##0, ago, compact…) are a ui's.
How to fix it#
The message says what is wrong and where, and often what was meant (Did you mean …?). Change the model so that what this page describes no longer holds, then check again: archec check main.arche.
An error: archec builds nothing until it is fixed.
archec check --beginner says the most common messages in plain words, with the names that exist.
The automatic fix#
archec has no fix of its own for this code. When the message says Did you mean …?, VS Code offers that change (Quick Fix).
In the terminal#
archec explain interp-format prints this explanation; archec explain behaviour lists the codes of its area.