+ 1
How to convert a textbox value (whole number) to double something like (0.00) in C#?
Getting textbox value and converting it to double.
1 Respuesta
+ 1
Double.Parse("3.5")
or
Double.TryParse(value, out number)
https://www.dotnetperls.com/parse
every type has its helper methods
int.parse
and also
double.parse
if the conversion is not succesfull
double.parse will throw a exception
double.tryparse will just return false.