Hi Im trying to Math.Ceiling with the following code, where fr is a array of doubles and max is an int, it give me the following error "Error The call is ambiguous between the following methods or properties: 'System.Math.Ce iling(decimal)' and 'System.Math.Ce iling(double)'"
Please advise Thanks
Code:
for (int i = 0; i < fr.Length; i++)
{
if (fr[i] < max)
{
max = (int)Math.Ceiling(i);
}
}
Comment