battle programmers alliance
Would you like to react to this message? Create an account in a few clicks or log in to continue.

battle programming a forum for elite programmers with extreme will power to sharpen their skills
HomeGallerySearchRegisterLog in convert to binary

Go down 
Moti Barski
Moti Barski

Posts : 573
Join date : 2011-08-02 convert to binary Empty
PostSubject: convert to binary convert to binary EmptyThu Apr 27, 2017 7:48 am

Public Class Form1
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Dim i As Integer = 512
        Dim s As String = Convert.ToString(i, 2).PadLeft(8, "0"c) '32 bits
    End Sub
End Class

MB over and out emp it up
Back to top Go down convert to binary
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
battle programmers alliance :: battle programming alliance :: battle programming-
Jump to: