-9

I want to add binary numbers which contain decimals, like this: 11.0101+111.101

Infinite Recursion
  • 6,511
  • 28
  • 39
  • 51
Halim
  • 260
  • 2
  • 10

1 Answers1

1

You want to create a function which will take a String containing a number in binary format with a floating point and convert it to double. Then you need to use this function on text from two EditTexts (i presume) and add them together. The result will be a double.

Code is in here: https://stackoverflow.com/a/23325722/2444099

Community
  • 1
  • 1
Eugen Pechanec
  • 37,669
  • 7
  • 103
  • 124