# Tag Info

### How to enter a repeating decimal in Mathematica

Indeed, there is no direct method to input a repeating decimal. The closest you can get is to input the repeating digits into FromDigits[]: $$0.\overline{142857}$$ <...
Accepted

### Understanding simple numerical calculation

Introduction This seems to be a question more about IEEE 754 binary64 format than about Mathematica per se. The significand is 53 bits (52 stored, since the leading bit is assumed to be ...
• 240k

### How to enter a repeating decimal in Mathematica

Use the ResourceFunction RepeatingDecimalToRational: ...
• 161k
Accepted

### Making the number 12345...n

FromDigits@Flatten[IntegerDigits /@ Range[15]] 123456789101112131415 A function to do it: ...
• 12k

### Test if number represents an integer

you can try this: integerQ[x_] := x == Round[x]
• 6,836
Accepted

### How to force Mathematica to do infinite-precision calculations?

Mathematica will perform exact arithmetic only so long as all quantities are expressed as exact numbers. 90.12 is an inexact number with machine precision (i.e. ...
• 69.1k
Accepted

### Checking if a number is right sorted

f1 = OrderedQ @* Rest @* IntegerDigits; f1 /@ {51369, 51396} {True, False} ...
• 399k
Accepted

### IntegerPart - is this a known bug?

[H]ow do I fix it once and for all for the entire Notebook? I suppose it depends on how you want to treat results that contain round-off error. You cannot really get rid of the problem, only shift ...
• 240k
Accepted

### How to get exact Rationalize of a decimal number?

You can use SetPrecision to find a more precise result. ...
• 27.5k

### How to write an array of repeated numbers as a single number

That can easily be done by separating each number into digits and re-assembling them as Number {3097, 3097, 3097, 3097} // IntegerDigits // Flatten // FromDigits
• 113k

### Making the number 12345...n

f1 = FromDigits @ StringRiffle[Range[#], ""] &; f1 /@ {4, 10, 15} {1234, 12345678910, 123456789101112131415} ...
• 399k

### Trace shows Linux has worse error than Windows in 1/(-1.)^1.2

This made me curious. I work under macos on Apple Silicon. I get these results: ...

### Arbitrary-Precision Arithmetic behaves unexpectedly

This is at best a partial answer. I don't know in full detail what is going on with FullForm or InputForm but I will venture to ...

### Is there a command that does exact numerical conversion of non-exact to exact numbers?

However, the only method I've found that ensures numerically exact conversion is the manual one: delete the decimal point, and then divide by 10^z, where z is the number of digits to the right of the ...
• 236k
Accepted

### Convert decimal value to hexadecimal

Try this IntegerString[62343, 16] // ToUpperCase
• 2,788
Accepted

### Why 2^^1*^k does not work?

The number entry form base^^digits is only valid for explicit [0-9] digits in the place of both base and digits. You cannot write literal b^^1001 and then attempt ...
• 272k
Accepted

### How to copy formatted numbers as MathML without quotation marks?

Original answer The reason for getting extra quotes is that these extra quotes are explicitly present in the box form of the expression generated by such functions as ...
Accepted

### Representation of Rational Numbers

Rational is for exact numeric values, not symbolic expressions, i.e. its arguments must be integers. Rational[x,y] is ...
• 272k
Accepted

### How to format a number with an error?

Update This seems to do what you want a bit more simply than your own solution. ...
• 272k
Accepted

### Number of digits problem

The presence of 0.5 in the iterator makes Table use machine-precision numbers for i, which ...
• 9,498

### Making the number 12345...n

Without using IntegerDigits or string processing: ...
• 25.6k

### How to get exact Rationalize of a decimal number?

When you simply input 0.97646105481464028, you do not get this number internally: 0.97646105481464028 // FullForm ...

### Unexpected Indeterminate result from evaluating a limit

Mathematica Limit[((h + x)^(1/4) - ( x)^(1/4))/((h + x)^(1/2) - ( x)^(1/2)),h -> 0] (*1/(2 x^(1/4))*) evaluates the limit without problems
• 55.1k

### How to make the Ticks larger?

Ticks -> Details ...
• 399k

### Checking if a number is right sorted

f = AllTrue[Rest[Differences[IntegerDigits[#]]], Positive] & Test: f /@ {51369, 412345, 824699, 41395, 31832} True, True, ...
• 56.1k
Accepted

Maybe this? ...
• 30.7k

...
• 24.1k
Accepted

### How do I get Mathematica to write the coefficients of polynomial as fractions rather than decimal expansions?

You can use the WorkingPrecision option of LinearModelFit: ...
• 131k

### Test if number represents an integer

on suggestion of @george2079 checkInteger[num_] := (# === 0. || # === 0) &@FractionalPart[num]
• 9,030