News for hackers. Stuff that matters.
Re:0.30000000000000004 by contravariant on Sunday April 02, 2017 @04:28PM (#14018878)
It's phrased incredibly badly, but basically you can only write a fraction with a finite number of decimals if the denominator divides 10^k (for some k). This means the denominator can't have prime factors other than 2 and 5 (which are the two prime factors of the base). This last statement isn't exactly trivial, but is reasonably easy to prove.

There are no comments on this comment yet.