??? 07/02/04 09:45 Read: times |
#73496 - RE: Remainder Responding to: ???'s previous message |
Sorry !
The 1 must not be there 1. Can anyone tell me why this does not work for(loop = 0;loop<=5;loop++) { Value[loop] = counter % 10;// work out remainder counter = counter / 10; } and this does.? Value[0] = counter % 10; counter /= 10; Value[1] = counter % 10; counter /= 10; . . . Value[9] = counter % 10; 2. How do i calc the fraction of counter.? I have tryed to x100L and then do the above but my value is always 0 |
Topic | Author | Date |
Remainder | 01/01/70 00:00 | |
RE: Remainder | 01/01/70 00:00 | |
RE: Remainder | 01/01/70 00:00 | |
RE: Remainder![]() | 01/01/70 00:00 |