User Tools

Site Tools


ro:fromhex

Differences

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

Link to this comparison view

ro:fromhex [2017/08/22 15:53]
junior-root [Descriere]
ro:fromhex [2020/02/28 10:46]
Line 1: Line 1:
-===== FromHex (Funcție) ===== 
-> **Engleză:** //**FROM** = din; **HEX**adecimal = sistem hexazecimal// 
-==== Format ==== 
-**fromhex** ( [[stringexpressions|șir_de_caractere]] ) 
- 
-Întoarce un [[integerexpressions|număr_întreg]]. 
-==== Descriere ==== 
-Această funcție returnează un număr întreg reprezentat de șirul hexazecimal (în baza 16). Sistemul hexazecimal reprezintă 16 valori diferite pe cifră, pentru acesta fiind utilizate simbolurile 0-9 și a-f. 
-==== Exemplu ==== 
-<code>print fromhex("10") 
-print fromhex("ff") 
-</code> 
-va afișa: 
-<code>16 
-255 
-</code> 
-==== Vezi și ==== 
-{{page>ro:start#Conversii de bază&noheader}} 
-==== Istoric ====  
-|0.9.9.45|Adăugată în acestă versiune|  
  
ro/fromhex.txt · Last modified: 2020/02/28 10:46 (external edit)