Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

Idiom # 55: Convert integer to string

See programming-idioms.org:

Code

The shortest way to create a string from any value is using the operator prefix $. Equivalent operations are calling feature as_string on a value, or using $ followed by a field name within a string literal, or an expression enclosed in braces { } within a string literal.

Running Example

last changed: 2024-07-01