0

How can we convert a fractional binary number into a decimal num?

can anyone solve it?

12th Apr 2017, 1:45 PM
Waqas Aslam
3 Answers
+ 3
I convert a binary string, such as 1001101 to Decimal (77) using c# Convert.ToInt32("1001101", 2).ToString(); output 77
12th Apr 2017, 3:02 PM
Vikas Sharma
Vikas Sharma - avatar
+ 2
you can use... String s = Integer.tobinaryNumber ();
12th Apr 2017, 3:12 PM
Anand Barnwal
Anand Barnwal - avatar
- 1
give an example please.
12th Apr 2017, 2:49 PM
Giannis Tsirovasilis
Giannis Tsirovasilis - avatar