1 2 3 4 5 | fun main() { val numeroDecimal = 255 val numeroHexadecimal = Integer.toHexString(numeroDecimal) println("El número decimal $numeroDecimal en hexadecimal es $numeroHexadecimal") } |
1 2 3 4 5 | fun main() { val numeroDecimal = 255 val numeroHexadecimal = Integer.toHexString(numeroDecimal) println("El número decimal $numeroDecimal en hexadecimal es $numeroHexadecimal") } |