Skip to content
Narta Xaymar Dirks edited this page Oct 27, 2026 · 4 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

Object, Short 〔BlitzLLVM〕, UByte 〔BlitzLLVM〕, UInt 〔BlitzLLVM〕

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

More

Clone this wiki locally