Should this tested value be a float rather than an int?