I have a value that is exactly equal 1.08:43:23
in my text box, which is 1d, 08:43:23. I wanted to convert the value to decimal for me to multiply it by another decimal value, however, when I used it Convert.ToDecimal
, it returns an error that is equal to
The input string is not a valid format
Is it Convert.ToDecimal
unsuitable for such a conversion? Is there any other way to create such a value before decimal?
source
share