T
tshad
I have the following that works:
public static void GetValueFromDbObject(object dbObjectValue, ref decimal
destination)
{
destination = 2323;
return;
}
This gives me an arithmetic overflow:
public static void GetValueFromDbObject(object dbObjectValue, ref decimal
destination)
{
destination = decimal.MaxValue;
return;
}
How can that be? I thought that decimal.MaxValue is the maximum value you
can have.
Thanks,
Tom
public static void GetValueFromDbObject(object dbObjectValue, ref decimal
destination)
{
destination = 2323;
return;
}
This gives me an arithmetic overflow:
public static void GetValueFromDbObject(object dbObjectValue, ref decimal
destination)
{
destination = decimal.MaxValue;
return;
}
How can that be? I thought that decimal.MaxValue is the maximum value you
can have.
Thanks,
Tom