it could be passed as int but then cast to float internally

otherwise LGTM