Difference between revisions of "MC-Basic:STR$"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "Read-Only" to "Read only")
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:STR$}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
Line 4: Line 5:
  
 
|SYNTAX=
 
|SYNTAX=
STR$(''<number>'')
+
STR$(<''number''>)
  
 
|AVAILABILITY=
 
|AVAILABILITY=
Line 13: Line 14:
  
 
|TYPE=
 
|TYPE=
''<return value>'': String<br>
+
<''return value''>: String<br>
''<number>'': Double
+
<''number''>: Double
  
 
|RANGE=
 
|RANGE=
''<return value>'': String<br>
+
<''return value''>: String<br>
''<number>'': 0 to MaxDouble
+
<''number''>: 0 to MaxDouble
  
 
|UNITS=
 
|UNITS=
Line 38: Line 39:
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:VAL|VAL]]
+
* [[MC-Basic:VAL|VAL]]
  
[[Category:Axystems:MC-Basic:String_Manipulation|STR$]]
+
[[Category:MC-Basic:String Manipulation|STR$]]
 
}}
 
}}

Latest revision as of 08:27, 28 April 2017

Language: English  • 中文(简体)‎

STR$ returns the string representation of a number.

Syntax

STR$(<number>)

Availability

All versions

Type

<return value>: String
<number>: Double

Range

<return value>: String
<number>: 0 to MaxDouble

Scope

Configuration, Task or Terminal

Limitations

Read only

Examples

-->I1=12345
-->PRINT STR$(i1)+"A"
12345A

See Also