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

From SoftMC-Wiki
Jump to: navigation, search
Line 39: Line 39:
 
* [[Axystems:MC-Basic:VAL|VAL]]
 
* [[Axystems:MC-Basic:VAL|VAL]]
 
* [[Axystems:MC-Basic:STR$|STR$]]
 
* [[Axystems:MC-Basic:STR$|STR$]]
* [[Axystems:MC-Basic:STRD$|STRL$]]
+
* [[Axystems:MC-Basic:STRL$|STRL$]]
  
 
[[Category:Axystems:MC-Basic:String_Manipulation|STRD$]]
 
[[Category:Axystems:MC-Basic:String_Manipulation|STRD$]]
 
}}
 
}}

Revision as of 14:13, 19 March 2014

STRD$ returns the string representation of a number.

Syntax

STRD$(<number>, <format_string>)

Type

<return value>: String
<number>: Long, Double
<format_string>: String

Range

<number>: MinDouble to MaxDouble
<format_string>: a valid sprintf() floating point format

Scope

Configuration, Task or Terminal

Limitations

Read only

Examples

-->PRINT STRD$(45.5, "%f")
45.500000

See Also