AINE: Accelerated Interactive Narrator Engine
  • Download
  • References
  • Games
  • Wiki
  • Facebook Twitter
  • Name

    floor()

  • Examples

    Player:
    {
    var1: 2.2

    Event: Game_Start {
    player.var1 = floor(var1)
    // Sets the value of var1 to the floored value of var1

    print(var1)
    // Outputs 2
    }
    }
  • Description

    Returns the closest integer less than or equal to the parsed number.
  • Syntax

    • floor(number)
  • Related

    • ceil()

    • round()

  • Contact
  • Terms of Use
  • GitHub
  • Drakkashi.com

The copyright of all images rendered by me goes to their respective owners.
© 2008 Daniel Svejstrup Christensen