There was an error while loading. Please reload this page.
String s1 = "00010000"; String s2 = "00001000"; String s3 = "00000100"; println(unbinary(s1)); // Imprime 16 println(unbinary(s2)); // Imprime 8 println(unbinary(s3)); // Imprime 4
Converte uma representação em String de um número binario em seu equivalente valor inteiro. Por exemplo, unbinary("00001000") retornará 8.
unbinary(str)
Parâmetros str String
int
Web & Applicações
hex()
binary()
unbinary()