|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.javaflair.pokerprophesier.api.helper.HelperUtils
public class HelperUtils
Helper utility methods.
| Method Summary | |
|---|---|
static String |
formatProbToFraction(float prob)
Converts a probability to a fractional format String representation. |
static String |
formatProbToOdds(float prob)
Converts a probability to an odds format String representation. |
static String |
formatProbToPercent(float prob)
Converts a probability to a percentage format String representation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String formatProbToOdds(float prob)
prob - the probability
public static String formatProbToPercent(float prob)
prob - the probability
public static String formatProbToFraction(float prob)
prob - the probability
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||