Silence compiler warning "conversion from 'double' to 'float', possible loss of data"