Class FloatExtensionsKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Float limitTo(Float $self, Float min, Float max) Limits the float value to the given range.
      final static Boolean isInt(Float $self) Checks if the float value is an integer.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • limitTo

         final static Float limitTo(Float $self, Float min, Float max)

        Limits the float value to the given range.

        Parameters:
        min - The minimum value.
        max - The maximum value.
      • isInt

         final static Boolean isInt(Float $self)

        Checks if the float value is an integer.