double
doesn't keep insignificant digits - there's no difference between 1.5 and 1.50000 as far as double
is concerned.
If you want to preserve insignificant digits, use decimal
instead. It may well be more appropriate for you anyway, depending on your exact context. (We have very little context to go on here...)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…