Not reliably. The fact that there is typically 6 digits precision doesn't mean your double is precisely 12.9064 ... it will be stored to the nearest binary representation of floating-point numbers. So, how many digits it is depends on what precision you are measuring to.
You could, of course, just input it as a string and then simply erase the decimal point!