Only software engineers understand this comment. For the layman, an integer is a discrete number: 0, 1, 2, etc.
A floating point number contains decimals: 1.11, 1.12, 1.1234553245, etc.
There is literally no reason to code a vote counting system in floating point except to cheat. In fact, many programming languages have a positive integer construct, which is a discrete number greater or equal to 0.
They programmed the vote tally in float man!
Only software engineers understand this comment. For the layman, an integer is a discrete number: 0, 1, 2, etc.
A floating point number contains decimals: 1.11, 1.12, 1.1234553245, etc.
There is literally no reason to code a vote counting system in floating point except to cheat. In fact, many programming languages have a positive integer construct, which is a discrete number greater or equal to 0.
Anyone who has done any coding understands the difference between an integer and float.
Correct.