Fuze Arena Logo
  • Forum
  • Creations
    Catalogue Showcase
  • Help

floor()

Purpose

Returns the floor of a real number

Description

Returns the greatest integer less than or equal to the real number specified e.g. floor(2.4) = 2

Syntax

result = floor( number )

Arguments

number A real number

result The floor of number

Example

x = 2.4
// Prints 2
print( floor( x ) )
update()
sleep( 3 )

Associated Commands

ceil(), clamp(), max(), min()

logo

©2019 FUZE Technologies Ltd. FUZE is a registered trademark of FUZE Technologies Ltd. All rights reserved.

Useful links

  • Fuze Main Site
  • Fuze Arena on Twitter
  • Fuze Arena on Youtube
  • Download Buyer

Contact Information

  • FUZE Technologies Ltd
    15 Clearfields Farm
    Wotton Underwood
    Aylesbury, Buckinghamshire
    ​England, HP18 0RS

  • +44 (0) 1844 239 432

  • contact@fuze.co.uk

© Copyright FUZE Technologies Ltd. All rights reserved.