This shows you the differences between two versions of the page.
fr:tobinary [2016/01/01 22:45] |
fr:tobinary [2020/02/28 10:46] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== ToBinary ===== | ||
+ | ==== Format ==== | ||
+ | |||
+ | **ToBinary** ( // | ||
+ | |||
+ | ==== Description ==== | ||
+ | |||
+ | Retourne la représentation binaire de la valeur // | ||
+ | |||
+ | ==== Exemple ==== | ||
+ | |||
+ | < | ||
+ | For t = 0 to 10 | ||
+ | print ToBinary(t) | ||
+ | next t | ||
+ | </ | ||
+ | Affichera : | ||
+ | < | ||
+ | 0 | ||
+ | 1 | ||
+ | 10 | ||
+ | 11 | ||
+ | 100 | ||
+ | 101 | ||
+ | 110 | ||
+ | 111 | ||
+ | 1000 | ||
+ | 1001 | ||
+ | 1010 | ||
+ | </ | ||
+ | |||
+ | ==== Voir Aussi ==== | ||
+ | {{page> |