| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| Straight from Sweden | VB.net convert from decimal to binary I know how it works on paper but not on VB.net hehe 37 / 2 = 18 rest 1 --> 1 18 / 2 = 9 rest 0 --> 0 9 / 2 = 4 rest 1 --> 1 4 / 2 = 2 rest 0 --> 0 2 / 2 = 1 rest 0 --> 0 1 / 2 = 0 rest 1 --> 1 and you have to read it from bottom and up 100101 is the binary rumber for 37 But i have no idea how to do it in vb.net, im still very new to vb.net Would GREATLY appreciate if someone could help me out. Best Regards Jawn Oh forgot that i will donate 50 NB to the one who helps me first. |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |