W3cubDocs

/Haxe Java

FloatClass

package java.lang

extends Number

implements Comparable<Float>

import java.lang.Float

@:native("java.lang.Float") Available on java

Constructor

@:overload new (param1:Single)

@:overload new (param1:Float)

@:overload @:throws("java.lang.NumberFormatException") new (param1:String)

Methods

@:overload compareTo (param1:Float):Int

@:overload compareTo (param1:Dynamic):Int

@:overload equals (param1:Dynamic):Bool

@:overload hashCode ():Int

@:overload isInfinite ():Bool

@:overload isNaN ():Bool

@:overload toString ():String

Static variables

@:final static read only MAX_EXPONENT:Int

@:final static read only MAX_VALUE:Single

@:final static read only MIN_EXPONENT:Int

@:final static read only MIN_NORMAL:Single

@:final static read only MIN_VALUE:Single

@:final static read only NEGATIVE_INFINITY:Single

@:final static read only NaN:Single

@:final static read only POSITIVE_INFINITY:Single

@:final static read only SIZE:Int

@:final static TYPE:Class<Float>

Static methods

@:native("isInfinite") @:overload static _isInfinite (param1:Single):Bool

@:native("isNaN") @:overload static _isNaN (param1:Single):Bool

@:native("toString") @:overload static _toString (param1:Single):String

@:overload static compare (param1:Single, param2:Single):Int

@:overload static floatToIntBits (param1:Single):Int

@:overload static floatToRawIntBits (param1:Single):Int

@:overload static intBitsToFloat (param1:Int):Single

@:overload @:throws("java.lang.NumberFormatException") static parseFloat (param1:String):Single

@:overload static toHexString (param1:Single):String

@:overload @:throws("java.lang.NumberFormatException") static valueOf (param1:String):Float

@:overload static valueOf (param1:Single):Float

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/java/lang/FloatClass.html