How to use binary value in Swift

1 Answer

0 votes
let binary = 0b101 // BinaryInteger: An integer type with a binary representation

print(binary)





/*
run:

5

*/

 



answered Feb 8, 2021 by avibootz
...