Message Boards Message Boards

0
|
3030 Views
|
3 Replies
|
1 Total Likes
View groups...
Share
Share this post:
GROUPS:

How to print a large integer as entered?

Posted 9 years ago
POSTED BY: H FR
3 Replies

Hi,

not sure whether these are the droids your looking for, but HoldForm and ReleaseHold might work:

x = HoldForm[10!]

and

x-1

and

x-1//ReleaseHold

There are related functions like Hold, HoldComplete, Unevaluated, and Defer.

Cheers,

Marco

POSTED BY: Marco Thiel
Posted 9 years ago

That's it!

Thanks very much. Spent nearly an hour reading the documentation and didn't find it.

POSTED BY: H FR

Also there is Inactive. Which to use will depend on specific needs. My guess is Defer might best suit them though.

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

Group Abstract Group Abstract