User Tools

Site Tools


en:tobinary

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:tobinary [2017/08/22 16:00]
junior-root
en:tobinary [2020/02/28 10:46]
Line 1: Line 1:
-===== ToBinary (Function) ===== 
  
-==== Format ==== 
- 
-ToBinary ( [[numericexpressions|numeric_expression]] ) 
- 
-returns [[stringexpressions|string_expression]] 
- 
-==== Description ==== 
- 
-Converts a number to its a string containing a binary value of ones and zeros. 
- 
-==== Example ==== 
- 
-<code> 
-For t = 0 to 10 
-print ToBinary(t) 
-next t 
-</code> 
- 
-Results in 
- 
-<code> 
-0 
-1 
-10 
-11 
-100 
-101 
-110 
-111 
-1000 
-1001 
-1010 
-</code> 
- 
-==== See Also ==== 
-{{page>en:start#Base Conversion&noheader}} 
- 
-==== History ====  
-|0.9.9.45|New To Version|  
en/tobinary.txt ยท Last modified: 2020/02/28 10:46 (external edit)