Specifying a type of anything other than some type of integer for counting votes is a fundamental violation of basic computer principles. Even an integer for 32 bits is way sufficient, even a signed integer. The max value foe the 32 bit integer in Java is 2147483647.
There are other forms of whole-number variable types such as the BigDecimal type in Java that would be suitable.
The only reason someone would specify floating point for vote counts would be to commit some type of fraud.