This shows you the differences between two versions of the page.
ro:tooctal [2017/09/04 05:14] junior-root [Format] |
ro:tooctal [2020/02/28 10:46] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== ToOctal (Funcție) ===== | ||
- | > **Engleză: | ||
- | ==== Format ==== | ||
- | ToOctal ( [[integerexpressions|număr_întreg]] ) | ||
- | |||
- | Întoarce un [[stringexpressions|șir_de_caractere]]. | ||
- | ==== Descriere ==== | ||
- | Convertește un număr într-un șir de caractere conținând reprezentarea acestuia în sistemul octal (în baza 8). | ||
- | ==== Exemplu ==== | ||
- | < | ||
- | For t = 1 to 10 | ||
- | print ToOctal(t) | ||
- | next t | ||
- | </ | ||
- | va afișa: | ||
- | < | ||
- | 1 | ||
- | 2 | ||
- | 3 | ||
- | 4 | ||
- | 5 | ||
- | 6 | ||
- | 7 | ||
- | 10 | ||
- | 11 | ||
- | 12 | ||
- | </ | ||
- | |||
- | ==== Vezi și ==== | ||
- | {{page> | ||
- | ==== Istoric ==== | ||
- | |0.9.9.45|Adăugată în acestă versiune| | ||