hidden error
Can anyone tell me why the for cycle does not work? I only get the
multiplication, but the FOR does not start:
protected double CalFutureValue(double initial_value, double
interest_rate, int years)
{
double future_value =0;
double alfa = 0;
for (int i = 1; i <= years; i++)
{
alfa = (initial_value * (interest_rate / 100)) ;
valore_futuro = (alfa + initial_value);
}
}
the fact is that i don't get any error message, it's just not making
the calculation.
Thanks
.
Relevant Pages
- where is the error?
... Can anyone tell me why the for cycle does not work? ... double alfa = 0; ... the fact is that i don't get any error message, ... the calculation. ... (microsoft.public.dotnet.languages.csharp) - Re: where is the error?
... the reason may be: ... cycle seem doing nothing when you run this code. ... the fact is that i don't get any error message, ... the calculation. ... (microsoft.public.dotnet.languages.csharp) - Re: Size of workbook and calculation time huge because of Sumproducts
... efficiency in that it results in faster calculation. ... > Hi Biff, ... >> eliminates one calculation cycle thus making it faster. ... >> As far as the size of your workbook, ... (microsoft.public.excel.misc) - <windows 2000 root>system32
toskrnl.exe
... >following error message ... >this error takes place about 2 seconds into the boot ... >cycle, so the computer simply does nothing. ... >i tried putting the W2K disk in the CDROM drive pre-boot ... (microsoft.public.win2000.general) - <windows 2000 root>system32
toskrnl.exe
... following error message ... this error takes place about 2 seconds into the boot ... cycle, so the computer simply does nothing. ... i tried putting the W2K disk in the CDROM drive pre-boot ... (microsoft.public.win2000.general) |
|