# Float

`Float`

, a 32-bit IEEE-754 floating point number (equivalent to Java's `float`

primitive type) is a
subtype of AnyVal. Instances of `Float`

are not
represented by an object in the underlying runtime system.There is an implicit conversion from Float => runtime.RichFloat
which provides useful non-primitive operations.

class AnyVal

trait Matchable

class Any

## Value members

### Methods

@deprecated("Adding a number and a String is deprecated. Use the string interpolation `s\"$num$str\"`", "2.13.0")

Implicitly added by float2double

- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is equal to x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is equal to x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is equal to x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is equal to x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is equal to x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is equal to x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is equal to x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is not equal to x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is not equal to x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is not equal to x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is not equal to x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is not equal to x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is not equal to x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is not equal to x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is less than x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is less than x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is less than x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is less than x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is less than x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is less than x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is less than x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is less than or equal to x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is less than or equal to x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is less than or equal to x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is less than or equal to x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is less than or equal to x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is less than or equal to x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is less than or equal to x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is greater than x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is greater than x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is greater than x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is greater than x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is greater than x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is greater than x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is greater than x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is greater than or equal to x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is greater than or equal to x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is greater than or equal to x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is greater than or equal to x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is greater than or equal to x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is greater than or equal to x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns

`true`

if this value is greater than or equal to x, `false`

otherwise.- Source
- (source)

Implicitly added by float2double

Returns the remainder of the division of this value by

`x`

.- Source
- (source)

Implicitly added by float2double

Returns the remainder of the division of this value by

`x`

.- Source
- (source)

Implicitly added by float2double

Returns the remainder of the division of this value by

`x`

.- Source
- (source)

Implicitly added by float2double

Returns the remainder of the division of this value by

`x`

.- Source
- (source)

Implicitly added by float2double

Returns the remainder of the division of this value by

`x`

.- Source
- (source)

Implicitly added by float2double

Returns the remainder of the division of this value by

`x`

.- Source
- (source)

Implicitly added by float2double

Returns the remainder of the division of this value by

`x`

.- Source
- (source)

@deprecated("Adding a number and a String is deprecated. Use the string interpolation `s\"$num$str\"`", "2.13.0")

- Source
- (source)