Convert FAVORITE_RATE_THRESHOLD into float instead of int