suppose string x=10h.10m
string y=10h.10m
how to add x and y by converting them to double.
because on converting x to double like
double a= convert.todoubl e(x)
it gives result 10.1 which represents 10h.1m
how to convert so that I get result as 10h.10m
h*-Hours
m*- Minutes
string y=10h.10m
how to add x and y by converting them to double.
because on converting x to double like
double a= convert.todoubl e(x)
it gives result 10.1 which represents 10h.1m
how to convert so that I get result as 10h.10m
h*-Hours
m*- Minutes
Comment