I have a string \"246246.246\" that I\'d like to pass to the IConvertable interface, ToInt16, ToInt32, ToIn64. What is the best way to parse a string with decimal places to
You should not have to Round the value as ToInt64(double) returns the rounded version already
string value = "246246.246"; Convert.ToInt64(Convert.ToDouble(value));