Skip to content
Narta Xaymar Dirks edited this page Nov 1, 2026 · 2 revisions

Blitz3DBlitzPlusBlitzBasic

Str

Str(value)
Str:String(value)

Description

Converts a number to a text. This also happens by itself when a number is joined to a text with +, but writing it out makes clear what the program does.

Examples

n = 12
Print "n = " + Str(n)
Print Str(2.5) + "!"
n = 12
2.5!

Related Commands

Short 〔BlitzLLVM〕, Single 〔BlitzLLVM〕, UByte 〔BlitzLLVM〕, UInt 〔BlitzLLVM〕

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally