Michael Clease
28-05-2007, 13:31
' Usage of the STR$ Keyword example
'
' Written by Abraxas
DIM s AS STRING
DIM numeric_expression AS DWORD VALUE 1234567890
DIM digits AS DWORD VALUE 10
DIM sMsg AS STRING
s = STR$(numeric_expression, digits)
sMsg += "STR$(numeric_expression [, digits]) = " & s & $CRLF
MSGBOX 0, sMsg
'
' Written by Abraxas
DIM s AS STRING
DIM numeric_expression AS DWORD VALUE 1234567890
DIM digits AS DWORD VALUE 10
DIM sMsg AS STRING
s = STR$(numeric_expression, digits)
sMsg += "STR$(numeric_expression [, digits]) = " & s & $CRLF
MSGBOX 0, sMsg