Phaser API Documentation

  Version: 

Member of: Phaser.Math.Fuzzy

<static> Floor(value, [epsilon])

Description:

Calculate the fuzzy floor of the given value.

Parameters:

name type arguments Default description
value number

The value.

epsilon number <optional> 0.0001

The epsilon.

Returns:
Description:

The floor of the value.

Type:
  • number
Examples:
Since: 3.0.0
Source: src/math/fuzzy/Floor.js (Line 7)