function binaryToString(number) {
  const integer = parseInt(number);
  const decimal = number - integer;
  const string = [];

  string.push(integerToBinaryString(integer));
  string.push(decimalToBinaryString(decimal));

  return string.join('');
}
5.2 Binary to String: Given a real number between 0 and 1 (e.g., 0.72) that is passed in as a double, print the binary representation.Ifthe number cannot be represented accurately in binary with at most 32 characters, print "ERROR:'


@param number  real number between 0 and 1 (e.g., 0.72)