Roxxor wrote:9.33262154 × 10157 is the answer I get. when I do 100!. But I can not understand why it ends as a decimal number when no decimals are involved in 100!. Can somebody explain?
100! is an integer; it has no decimals.
But it is a very large integer, containing 158 digits.
Most calculators, programs etc cannot display or print such very large numbers.
Instead, they print something like 9.33262154 × 10
157 which is only an
approximation to the actual value, showing in a compact form the first 9 significant digits of the number as well as the order of its magnitude (the number of its digits).
9.33262154 × 10
157 = 933262154 × 10
149 and now, there are no decimals!
Of course, it still only an approximate value for 100!.
What it means is that 100! is an integer which starts with 933262154... (followed by 149 more digits).
A bigger calculator, would tell you that 100! is approximately equal to 9.3326215443944152681699238856 × 10
157
which is equal to 93326215443944152681699238856 × 10
129,
So, 100! is an integer starting with 93326215443944152681699238856... (and followed by 129 more digits).
However, that's still an approximation for the value of 100!.
It is a better approximation (since you now have more significant digits than before), but you still don't have the remaining 129 digits.