Verlies_ber = Verlies_kort * 10; //convert float to int16 without losing much resolution
Verlies_array[Minuut_teller] = Verlies_ber; //put the int16 into an array
for(teller = 0; teller <= 51; teller++)
{
Totaal = Totaal + verlies_array[teller]; //calculate the total of the numbers in the array
}
All times are GMT - 6 Hours Goto page Previous1, 2
Page 2 of 2
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum