Skip to content

Division Floor Tile#


alt text A tile used to obtain de floor of the division between two numeric values

Description#

Description

  • Floor division is a normal division operation except that it returns the largest possible integer. This integer is either less than or equal to the normal division result.
  • Returns the result of the X // Y operation
  • X and Y default to 0 if not wired, or a conversion to float could not be made

Inputs#

X#

Info
  • Type
    Numeric value defaults to 0
    
    Accepted types: Integer, Float, String
    
  • Usage
    Wire any tile that returns a numeric or string value that does not include letters or special characters
    
    Any error will deafult the value to 0
    

Y#

Info
  • Type
    Numeric value defaults to 0
    
    Accepted types: Integer, Float, String
    
  • Usage
    Wire any tile that returns a numeric or string value different from 0 that does not include letters or special characters
    
    Any error will deafult the value to 0
    

Output#

X // Y#

Info
  • Return
    Float defaults to 0
    
  • Usage
    Will return the result of the operation
    

Real Signature#

Signature

  • A plain language description of the function associated with the tile
    def division_floor(x, y):
        return x // y