Moscrif API Docs for: 2012q3
Show:

Float Class

Library: core

Float values are "objects" of this class.

Item Index

Properties

Methods

isFinite

() Boolean

Returns true if this float value is a finite number.

Returns:

isNaN

() Boolean

Returns true if this float value appears to be not a number.

Returns:

max

(
  • values
)
Float

Find maximum value of its arguments.

Parameters:

  • values Float multiple

    Float values to compare

Returns:

Example:

Float.max(0.5, 1.6, 0.7); // returns 1.6

min

(
  • values
)
Float

Find minimum value of its arguments.

Parameters:

  • values Float multiple

    Float values to compare

Returns:

Example:

Float.min(1, 2, 3); // returns 1

toFloat

() Float

Simply returns value of the float

Returns:

toInteger

() Integer

Converts this float value to integer.

Returns:

toString

() String

Returns string representation of the float.

Returns:

Properties

MAX

Float

Maximal value of the float type.

MIN

Float

Minimal value of the float type.