Class FMaths


  • public class FMaths
    extends java.lang.Object
    Classe avec des fonctions mathématiques
    • Constructor Summary

      Constructors 
      Constructor Description
      FMaths()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static double round​(double number, int precision)
      Arrondir le nombre "number" à la précision 1/précision
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FMaths

        public FMaths()
    • Method Detail

      • round

        public static double round​(double number,
                                   int precision)
        Arrondir le nombre "number" à la précision 1/précision
        Parameters:
        number - Nombre
        precision - Précision inverse
        Returns:
        Nombre à la précision 1/precision