User Tools

Site Tools


fr:tobinary

Differences

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

Link to this comparison view

fr:tobinary [2016/01/01 22:45]
fr:tobinary [2020/02/28 10:46] (current)
Line 1: Line 1:
 +===== ToBinary =====
  
 +==== Format ====
 +
 +**ToBinary** ( //Variable// )\\
 +
 +==== Description ====
 +
 +Retourne la représentation binaire de la valeur //variable// sous forme de chaîne de caractères.
 +
 +==== Exemple ====
 +
 +<code>
 +For t = 0 to 10
 +print ToBinary(t)
 +next t
 +</code>
 +Affichera :
 +<code>
 +0
 +1
 +10
 +11
 +100
 +101
 +110
 +111
 +1000
 +1001
 +1010
 +</code>
 +
 +==== Voir Aussi ====
 +{{page>fr:start#Conversion des bases de numération&noheader}}