4

One can extract an Integer's digits using IntegerDigits and reassemble them into the Integer using FromDigits. Is there a function that reassembles the output of RealDigits into the Real?

CarbonFlambe
  • 1,234
  • 8
  • 13

1 Answers1

8

From FromDigits>>Details:

Blockquote

For example:

N@FromDigits[RealDigits[123.55555]]
(* 123.556 *) 
kglr
  • 394,356
  • 18
  • 477
  • 896