Class Numeric

java.lang.Object
games.stendhal.common.math.Numeric

public class Numeric extends Object
Convert between float and int values using the given accuracy as multiplier.
Author:
silvio
  • Constructor Details

    • Numeric

      public Numeric()
  • Method Details

    • floatToInt

      public static int floatToInt(float value, float accuracy)
    • intToFloat

      public static float intToFloat(int value, float accuracy)