floatValue() public méthode

public floatValue ( ) : float
Résultat float
Exemple #1
0
 /**
  * Returns this rational number as a float value.
  *
  * @return the float value
  */
 public float toFloat()
 {
     return(numerator.floatValue() / denominator.floatValue());
 }