kanipriya
New User
Joined: 20 Sep 2022 Posts: 3 Location: USA
|
|
|
|
Hi,
I have a requirement to find my record count is multiple of 100 or not.
Exact requirement:
I need to write word 'COMMIT' in my output file after my every 100/200/300th record of input file write. I am going to divide my record read count by 100 and get remainder. But how to check my remainder is whole number or not?
For ex., I do this for every record. When i read my 1000th line input i will do 1000/100=10.. i want to check whether 10 is whole number (not decimal). But how to check that?
Please suggest an idea. |
|