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

From SoftMC-Wiki
Jump to: navigation, search
m (Reverted edits by Lisa (talk) to last revision by Nurit.nardi)
m
Line 35: Line 35:
  
 
|EXAMPLE=
 
|EXAMPLE=
<pre>
+
-->myStr = Bin$(58699)<br>
-->myStr = Bin$(58699)
+
-->?myStr<br>
-->?myStr
+
1110010101001011<br>
1110010101001011
+
 
</pre>
 
  
 
|SEE ALSO=
 
|SEE ALSO=

Revision as of 10:19, 20 March 2014

BIN$ returns the string representation of a number in a binary format.

Syntax

BIN$(<number>)

Availability

Versions 4.0.0  and higher

Type

<return value>: String

<number>: Long

Range

<return value>: N/A

<number>: MinLong to MaxLong

Scope

Configuration, Task or Terminal

Examples

-->myStr = Bin$(58699)
-->?myStr
1110010101001011

See Also