VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Converts a Decimal Base number into different Bases. Also has extended Ascii characters.

by Ric-tus (1 Submission)
Category: Math/Dates
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Originally Published: Thu 2nd September 1999
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Converts a Decimal Base number into different Bases. Also has extended Ascii characters.

Rate Converts a Decimal Base number into different Bases. Also has extended Ascii characters.



label2.Caption = "Octal:"
label3.Caption = "Hex:"
label4.Caption = "ASCII:"
If text1.Text < 1000000000# Then text3.Text = Oct$(text1.Text)
If text1.Text < 1000000000# Then text4.Text = Hex$(text1.Text)
If text1.Text > 255 Or text1.Text < 0 Then text5.Text = "NA"
If text1.Text < 256 And text1.Text > 0 Then text5.Text = Chr$(text1.Text)


Download this snippet    Add to My Saved Code

Converts a Decimal Base number into different Bases. Also has extended Ascii characters. Comments

No comments have been posted about Converts a Decimal Base number into different Bases. Also has extended Ascii characters.. Why not be the first to post a comment about Converts a Decimal Base number into different Bases. Also has extended Ascii characters..

Post your comment

Subject:
Message:
0/1000 characters