welcome to the intricacies of java based rounding. As you are dividing to integers, the return value is 0, which then is multiplied with 100.
Change your calculation to return (((54983.0/55000) * 100) < 75) and suddenly everything works as expected as floating point numbers are used for the calculation...
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.