Purpose :
This sample helps to split string.
Example :
This sample helps to split string.
Example :
decimal dMinutes =
10.40;
decimal
dTotalMinutes = Convert.ToDecimal(dMinutes.ToString().Split('.').GetValue(0));
decimal dTempSeconds = Convert.ToDecimal(dMinutes.ToString().Split('.').GetValue(1));
No comments:
Post a Comment