Skip to content

Number to String Type Conversion #200

Discussion options

You must be logged in to vote

Hi @meganwolf0 👋

You'd normally use the sprintf built-in function for that:

year := 2022
year_str := sprintf("%v", [year])

Definitely not easy to find unless you know what to look for, so no need to apologize :)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@meganwolf0
Comment options

Answer selected by meganwolf0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants