public static float PermillionToPercentage(string value) { return(ServerToBattleUtility.PermillionToPercentage(int.Parse(value))); }
public static float PermillionToPercentage(int value, bool useClamp) { return((!useClamp) ? ((float)value / 10000f) : ServerToBattleUtility.PermillionToPercentage(value)); }