Choose conversion and formatting deliberately
StringFormat follows printf-style placeholders and is useful when a message contains several typed values. DoubleToString exposes the required decimal precision directly, which makes it clearer for price output than relying on an implicit conversion.
A formatted string is presentation data. Converting a number to text and back can lose precision if the chosen digit count was too small, so calculations should remain numeric until the output boundary.
| Function | Use | Check |
|---|---|---|
| StringFormat | Assemble typed output | Placeholder and argument types |
| DoubleToString | Render a double | Required digits |
| StringFind | Locate a substring | Result is not -1 |
| StringSubstr | Extract characters | Start and length stay in range |
