Float

final abstract
class Float extends AnyVal

Float, a 32-bit IEEE-754 floating point number (equivalent to Java's float primitive type) is a subtype of scala.AnyVal. Instances of Float are not represented by an object in the underlying runtime system.

There is an implicit conversion from scala.Float => scala.runtime.RichFloat which provides useful non-primitive operations.

Companion
object
Source
Float.scala
class AnyVal
trait Matchable
class Any

Value members

Abstract methods

def !=(x: Byte): Boolean
Implicitly added by float2double

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Source
Double.scala
def !=(x: Short): Boolean
Implicitly added by float2double

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Source
Double.scala
def !=(x: Char): Boolean
Implicitly added by float2double

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Source
Double.scala
def !=(x: Int): Boolean
Implicitly added by float2double

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Source
Double.scala
def !=(x: Long): Boolean
Implicitly added by float2double

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Source
Double.scala
def !=(x: Float): Boolean
Implicitly added by float2double

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Source
Double.scala
def !=(x: Double): Boolean
Implicitly added by float2double

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Source
Double.scala
def !=(x: Byte): Boolean

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Source
Float.scala
def !=(x: Short): Boolean

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Source
Float.scala
def !=(x: Char): Boolean

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Source
Float.scala
def !=(x: Int): Boolean

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Source
Float.scala
def !=(x: Long): Boolean

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Source
Float.scala
def !=(x: Float): Boolean

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Source
Float.scala
def !=(x: Double): Boolean

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Source
Float.scala
def %(x: Byte): Double
Implicitly added by float2double

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Source
Double.scala
def %(x: Short): Double
Implicitly added by float2double

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Source
Double.scala
def %(x: Char): Double
Implicitly added by float2double

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Source
Double.scala
def %(x: Int): Double
Implicitly added by float2double

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Source
Double.scala
def %(x: Long): Double
Implicitly added by float2double

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Source
Double.scala
def %(x: Float): Double
Implicitly added by float2double

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Source
Double.scala
def %(x: Double): Double
Implicitly added by float2double

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Source
Double.scala
def %(x: Byte): Float

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Source
Float.scala
def %(x: Short): Float

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Source
Float.scala
def %(x: Char): Float

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Source
Float.scala
def %(x: Int): Float

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Source
Float.scala
def %(x: Long): Float

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Source
Float.scala
def %(x: Float): Float

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Source
Float.scala
def %(x: Double): Double

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Source
Float.scala
def *(x: Byte): Double
Implicitly added by float2double

Returns the product of this value and x.

Returns the product of this value and x.

Source
Double.scala
def *(x: Short): Double
Implicitly added by float2double

Returns the product of this value and x.

Returns the product of this value and x.

Source
Double.scala
def *(x: Char): Double
Implicitly added by float2double

Returns the product of this value and x.

Returns the product of this value and x.

Source
Double.scala
def *(x: Int): Double
Implicitly added by float2double

Returns the product of this value and x.

Returns the product of this value and x.

Source
Double.scala
def *(x: Long): Double
Implicitly added by float2double

Returns the product of this value and x.

Returns the product of this value and x.

Source
Double.scala
def *(x: Float): Double
Implicitly added by float2double

Returns the product of this value and x.

Returns the product of this value and x.

Source
Double.scala
def *(x: Double): Double
Implicitly added by float2double

Returns the product of this value and x.

Returns the product of this value and x.

Source
Double.scala
def *(x: Byte): Float

Returns the product of this value and x.

Returns the product of this value and x.

Source
Float.scala
def *(x: Short): Float

Returns the product of this value and x.

Returns the product of this value and x.

Source
Float.scala
def *(x: Char): Float

Returns the product of this value and x.

Returns the product of this value and x.

Source
Float.scala
def *(x: Int): Float

Returns the product of this value and x.

Returns the product of this value and x.

Source
Float.scala
def *(x: Long): Float

Returns the product of this value and x.

Returns the product of this value and x.

Source
Float.scala
def *(x: Float): Float

Returns the product of this value and x.

Returns the product of this value and x.

Source
Float.scala
def *(x: Double): Double

Returns the product of this value and x.

Returns the product of this value and x.

Source
Float.scala
def +(x: Byte): Double
Implicitly added by float2double

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Double.scala
def +(x: Short): Double
Implicitly added by float2double

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Double.scala
def +(x: Char): Double
Implicitly added by float2double

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Double.scala
def +(x: Int): Double
Implicitly added by float2double

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Double.scala
def +(x: Long): Double
Implicitly added by float2double

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Double.scala
def +(x: Float): Double
Implicitly added by float2double

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Double.scala
def +(x: Double): Double
Implicitly added by float2double

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Double.scala
def +(x: Byte): Float

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Float.scala
def +(x: Short): Float

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Float.scala
def +(x: Char): Float

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Float.scala
def +(x: Int): Float

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Float.scala
def +(x: Long): Float

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Float.scala
def +(x: Float): Float

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Float.scala
def +(x: Double): Double

Returns the sum of this value and x.

Returns the sum of this value and x.

Source
Float.scala
def -(x: Byte): Double
Implicitly added by float2double

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Double.scala
def -(x: Short): Double
Implicitly added by float2double

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Double.scala
def -(x: Char): Double
Implicitly added by float2double

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Double.scala
def -(x: Int): Double
Implicitly added by float2double

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Double.scala
def -(x: Long): Double
Implicitly added by float2double

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Double.scala
def -(x: Float): Double
Implicitly added by float2double

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Double.scala
def -(x: Double): Double
Implicitly added by float2double

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Double.scala
def -(x: Byte): Float

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Float.scala
def -(x: Short): Float

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Float.scala
def -(x: Char): Float

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Float.scala
def -(x: Int): Float

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Float.scala
def -(x: Long): Float

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Float.scala
def -(x: Float): Float

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Float.scala
def -(x: Double): Double

Returns the difference of this value and x.

Returns the difference of this value and x.

Source
Float.scala
def /(x: Byte): Double
Implicitly added by float2double

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Double.scala
def /(x: Short): Double
Implicitly added by float2double

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Double.scala
def /(x: Char): Double
Implicitly added by float2double

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Double.scala
def /(x: Int): Double
Implicitly added by float2double

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Double.scala
def /(x: Long): Double
Implicitly added by float2double

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Double.scala
def /(x: Float): Double
Implicitly added by float2double

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Double.scala
def /(x: Double): Double
Implicitly added by float2double

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Double.scala
def /(x: Byte): Float

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Float.scala
def /(x: Short): Float

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Float.scala
def /(x: Char): Float

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Float.scala
def /(x: Int): Float

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Float.scala
def /(x: Long): Float

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Float.scala
def /(x: Float): Float

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Float.scala
def /(x: Double): Double

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Source
Float.scala
def <(x: Byte): Boolean
Implicitly added by float2double

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Source
Double.scala
def <(x: Short): Boolean
Implicitly added by float2double

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Source
Double.scala
def <(x: Char): Boolean
Implicitly added by float2double

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Source
Double.scala
def <(x: Int): Boolean
Implicitly added by float2double

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Source
Double.scala
def <(x: Long): Boolean
Implicitly added by float2double

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Source
Double.scala
def <(x: Float): Boolean
Implicitly added by float2double

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Source
Double.scala
def <(x: Double): Boolean
Implicitly added by float2double

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Source
Double.scala
def <(x: Byte): Boolean

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Source
Float.scala
def <(x: Short): Boolean

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Source
Float.scala
def <(x: Char): Boolean

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Source
Float.scala
def <(x: Int): Boolean

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Source
Float.scala
def <(x: Long): Boolean

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Source
Float.scala
def <(x: Float): Boolean

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Source
Float.scala
def <(x: Double): Boolean

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Source
Float.scala
def <=(x: Byte): Boolean
Implicitly added by float2double

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Source
Double.scala
def <=(x: Short): Boolean
Implicitly added by float2double

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Source
Double.scala
def <=(x: Char): Boolean
Implicitly added by float2double

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Source
Double.scala
def <=(x: Int): Boolean
Implicitly added by float2double

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Source
Double.scala
def <=(x: Long): Boolean
Implicitly added by float2double

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Source
Double.scala
def <=(x: Float): Boolean
Implicitly added by float2double

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Source
Double.scala
def <=(x: Double): Boolean
Implicitly added by float2double

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Source
Double.scala
def <=(x: Byte): Boolean

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Source
Float.scala
def <=(x: Short): Boolean

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Source
Float.scala
def <=(x: Char): Boolean

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Source
Float.scala
def <=(x: Int): Boolean

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Source
Float.scala
def <=(x: Long): Boolean

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Source
Float.scala
def <=(x: Float): Boolean

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Source
Float.scala
def <=(x: Double): Boolean

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Source
Float.scala
def ==(x: Byte): Boolean
Implicitly added by float2double

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Source
Double.scala
def ==(x: Short): Boolean
Implicitly added by float2double

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Source
Double.scala
def ==(x: Char): Boolean
Implicitly added by float2double

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Source
Double.scala
def ==(x: Int): Boolean
Implicitly added by float2double

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Source
Double.scala
def ==(x: Long): Boolean
Implicitly added by float2double

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Source
Double.scala
def ==(x: Float): Boolean
Implicitly added by float2double

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Source
Double.scala
def ==(x: Double): Boolean
Implicitly added by float2double

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Source
Double.scala
def ==(x: Byte): Boolean

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Source
Float.scala
def ==(x: Short): Boolean

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Source
Float.scala
def ==(x: Char): Boolean

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Source
Float.scala
def ==(x: Int): Boolean

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Source
Float.scala
def ==(x: Long): Boolean

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Source
Float.scala
def ==(x: Float): Boolean

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Source
Float.scala
def ==(x: Double): Boolean

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Source
Float.scala
def >(x: Byte): Boolean
Implicitly added by float2double

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Source
Double.scala
def >(x: Short): Boolean
Implicitly added by float2double

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Source
Double.scala
def >(x: Char): Boolean
Implicitly added by float2double

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Source
Double.scala
def >(x: Int): Boolean
Implicitly added by float2double

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Source
Double.scala
def >(x: Long): Boolean
Implicitly added by float2double

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Source
Double.scala
def >(x: Float): Boolean
Implicitly added by float2double

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Source
Double.scala
def >(x: Double): Boolean
Implicitly added by float2double

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Source
Double.scala
def >(x: Byte): Boolean

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Source
Float.scala
def >(x: Short): Boolean

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Source
Float.scala
def >(x: Char): Boolean

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Source
Float.scala
def >(x: Int): Boolean

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Source
Float.scala
def >(x: Long): Boolean

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Source
Float.scala
def >(x: Float): Boolean

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Source
Float.scala
def >(x: Double): Boolean

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Source
Float.scala
def >=(x: Byte): Boolean
Implicitly added by float2double

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Source
Double.scala
def >=(x: Short): Boolean
Implicitly added by float2double

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Source
Double.scala
def >=(x: Char): Boolean
Implicitly added by float2double

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Source
Double.scala
def >=(x: Int): Boolean
Implicitly added by float2double

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Source
Double.scala
def >=(x: Long): Boolean
Implicitly added by float2double

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Source
Double.scala
def >=(x: Float): Boolean
Implicitly added by float2double

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Source
Double.scala
def >=(x: Double): Boolean
Implicitly added by float2double

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Source
Double.scala
def >=(x: Byte): Boolean

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Source
Float.scala
def >=(x: Short): Boolean

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Source
Float.scala
def >=(x: Char): Boolean

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Source
Float.scala
def >=(x: Int): Boolean

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Source
Float.scala
def >=(x: Long): Boolean

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Source
Float.scala
def >=(x: Float): Boolean

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Source
Float.scala
def >=(x: Double): Boolean

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Source
Float.scala
Implicitly added by float2double
Implicitly added by float2double
Implicitly added by float2double
Implicitly added by float2double
def toInt: Int
Implicitly added by float2double
def toInt: Int
Implicitly added by float2double
Implicitly added by float2double
Implicitly added by float2double

Returns this value, unmodified.

Returns this value, unmodified.

Source
Double.scala

Returns this value, unmodified.

Returns this value, unmodified.

Source
Float.scala
Implicitly added by float2double

Returns the negation of this value.

Returns the negation of this value.

Source
Double.scala

Returns the negation of this value.

Returns the negation of this value.

Source
Float.scala

Deprecated methods

@deprecated("Adding a number and a String is deprecated. Use the string interpolation `s\"$num$str\"`", "2.13.0")
def +(x: String): String
Implicitly added by float2double
Deprecated
Source
Double.scala
@deprecated("Adding a number and a String is deprecated. Use the string interpolation `s\"$num$str\"`", "2.13.0")
def +(x: String): String
Deprecated
Source
Float.scala