-9

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

Infinite Recursion
  • 6,445
  • 28
  • 38
  • 51
Halim
  • 231
  • 2
  • 8

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
  • 36,392
  • 7
  • 100
  • 120