i have tried following code which works well:
double value = 2635.215;
var values = value.ToString(CultureInfo.InvariantCulture).Split('.');
int firstValue = int.Parse(values[0]);
int secondValue = int.Parse(values[1]);
but when value = 2635.0
then i show error "index out of bound array"
is there any solution by which i get the secondvalue = 0;
please solve this problem.