<<

Contents

Search

>>

 

STRN$

 

 

Function

 

 

Syntax:

STR$(<Value>)

 

<Value> = <NUM-EXPRESSION>

 

Meaning:

Converts a number to a string.

 

If <Value> >=0, the String does not contain a leading blank, in contrast to STR$. If the value is negative, the 1st character of the String is the minus sign.

 

Parameter:

Value

Numeric expression

 

Sample:

H$ = STRN$(123.67) /* H$ contains "123.67"

 

See also:

STR$

STR0$

STRFORMAT$

STRNUM$

VAL

HEX$

OCT$