Message Boards Message Boards

1
|
3884 Views
|
3 Replies
|
1 Total Likes
View groups...
Share
Share this post:

Digits grouping / thousands separator

Posted 10 years ago

How do I enable/disable digits grouping? How to I change the separator to other character?

POSTED BY: Igor Zimny
3 Replies
Posted 10 years ago

I have this feeling that no answer is going to be acceptable.

Try creating an ordinary input cell containing

NumberForm[N[Pi, 12], DigitBlock -> 3, NumberSeparator -> "_"]

Evaluate that.

Then create a title cell with contents, but without the number you wish to display.

Scrape the output from the NumberForm evaluation.

Paste that into the appropriate position in the title cell.

If quotes appear around that paste then try to remove them.

When I try to directly evaluate in place a NumberForm expression within a title cell this does not seem to work.

When I enter long strings of digits into a text cell there is no default automatic reformatting of digit blocks.

POSTED BY: Bill Simpson
Posted 10 years ago

thanks, but I'm not asking about output. I want digits grouping in for example title, paragraph etc and I need disable digits grouping in expression made by typesetting

POSTED BY: Igor Zimny
Posted 10 years ago

Look up NumberForm in the help system and in that click on Details and Options.

POSTED BY: Bill Simpson
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