div

/

perform integer division between given values and return result


Parameters

div valueA :integer :floating :complex :rational :literal :quantity
    valueB :integer :floating :complex :rational :quantity

Returns

  • :integer
  • :floating
  • :complex
  • :rational
  • :quantity
  • or  :nothing

Examples

copy
print div 5 2 ; 2 print 9 / 3 ; 3

copy
a: 6 div 'a 3 ; a: 2

Related