priyanthan
Programmer
Can anyone please help me how to convert a smallint value into a binary.
Thanks in advance.
Thanks in advance.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Function Int2Bin(i As Integer) As String
Dim n As Integer
n = i
Do
Int2Bin = n Mod 2 & Int2Bin
n = n \ 2
Loop Until n = 0
End Function