[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] small questions on bitwise and asBinaryDigits



Could someone explain why its only 8bits?


default argument numDigits is set to 8. just set it to 16

4.asBinaryDigits(16)      //gives 16bit
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0 ]

Any hints?

Happy cake and coffee time!
some jelly donuts too


Karsten
tom

wonderful! jelly donuts and that this really simplifies my problem a lot!

k