FormatNumberAsString

Typestatement
DictionaryLCB
LibraryLiveCode Builder
Syntax
format <Operand> as string
Associationscom.livecode.arithmetic
Summary

Formats a numeric value as a string

Parameters
NameTypeDescription
Operand

An expression that evaluates to a number.

Example
variable tNum as Number
variable tString as String
put 5 into tNum
format tNum as string into tString
-- tString contains "5"
Values
NameTypeDescription
The result

Operand formatted as a string.

Description

Use FormatNumberAsString when you want to manipulate a numeric value as text.