I use a while loop to add the missing 0's. Like this:
Dim temp = Convert.ToString(data, 2)
While temp.Length < 15
temp = "0" & temp
End While
Is that a slow method?
|
Results 1 to 17 of 17
Thread: [RESOLVED] Decimal to BinaryThreaded View
|
Click Here to Expand Forum to Full Width |