You can just get the int part
int minutes = (int) (DateTime.UtcNow - conversionsList.Last().DateStamp).TotalMinutes;
this will give you the inside of the meaning.
EDIT: how much rounding of the value is considered. It is not true. Consider the following:
double d = 254.99999999999d;
int test = (int)d;
It testwill contain 254, not255
The only problem with explicit OverFlowException application
Habib source
share