is_valid_ratio


Description:

public static int is_valid_ratio (double ratio)