+ 2
how show seconds without exponent notation
https://code.sololearn.com/cN51bvxoxtyC/?ref=app the second floating point value
2 Respostas
+ 5
Try using either of these options:
(decimal) diff.TotalSeconds
//or
diff.TotalSeconds.ToString(
"0." + new string('#', 339)
)
NOTE: The 339 indicates the max number of digits.
There are other options as presented in these responses which are worth reviewing:
https://stackoverflow.com/questions/1546113/double-to-string-conversion-without-scientific-notation
+ 2
David Carroll you rock!