Questions tagged [number-form]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
77 views

Number definition and approximation

I run these lines: a = 0.833 SetPrecision[a, 20] and this is the output: 0.833 0.83299999999999996270 I expected to ...
3
votes
1answer
75 views

Data in Atom Form

I am loading a dataset into Mathematica and the format is always recognized as an Atom String: DS[All, 4] ...
0
votes
0answers
34 views

Why does NumberForm disturb the output of Rationalize? [duplicate]

I am currently using Rationalize after NumberForm in order to check if the some values of my function are in the ...
5
votes
1answer
61 views

Augment Export function to support custom number formatting

It's a shame that the Export framework provides no support for custom formatting of real numbers. Is it possible to augment the framework so that a "NumberForm" ...
0
votes
1answer
48 views

NumberForm with fixed width and exponent as “e+00” or “e-02”

I wish to export a matrix of real numbers out to a txt file in which the entries have the MatLab form: ...
3
votes
4answers
169 views

Why do I get badly formatted numerical results when I use StringForm?

The following example prints the square and cube of numbers from 0.5 to 6 ...
2
votes
1answer
165 views

Decimal format in Mathematica exported output

I am using ReadList to read an input file as Table format, and exporting the results. The ...
3
votes
2answers
144 views

Print integer number fraction as string of numerator and denominator

I want to convert an integer number fraction as text with a certain font, size and color: Example: ...
1
vote
1answer
632 views

Rounding a number to decimal places and keeping a trailing zero

It's often useful for me to round numbers to some decimal place for printing on a graph or figure. I usually do this by: ...
1
vote
2answers
135 views

How to avoid this type of change of digits in computed numbers?

Is there a way to avoid the digits being changed? ...
2
votes
2answers
105 views

Keep the format when output is copied and pasted

I have an output and I would like to copy and paste it into another .nb file. When I copy paste using Ctrl+c and Ctrl+v. I get When I copy paste using Ctrl+Shift+c and Ctrl+v. I get Or When I use ...