toDec and trimZeros