Show is not truncating anything. Show never had those digits to read from in the first place. The problem is that once you convert to floats or doubles, the number will be truncated. They do not have infinite precision. You cannot pass a literal float and have it go to infinite precision.