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