Group Abstract Group Abstract

Message Boards Message Boards

0
|
2.1K Views
|
4 Replies
|
3 Total Likes
View groups...
Share
Share this post:

I discovered a way to print all the digits of a number

I would like to share a way to print all the digits of a number. The ResourceFunction ReadableForm will print all the digits. For example, N[96,2.54] displays 37.7953. I've stored the ResourceFunction in a paclet.

The helpful part about the ResourceFunction is that if I had a number with say 50 digits and I did NumberForm[number with 50 digits,40] then I would miss some digits, but with ReadableForm it displays all the digits by default.

POSTED BY: Peter Burbery
4 Replies

What happens with ReadableForm[1.]?

POSTED BY: Gianluca Gorni

Also InputForm and FullForm print all the digits, I think.

POSTED BY: Gianluca Gorni

You're right they do.

POSTED BY: Peter Burbery

The benefit of ReadableForm is it makes FullForm more readable.

POSTED BY: Peter Burbery
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard