mul

*

calculate the product of given values and return result


Parameters

mul valueA :integer :floating :complex :rational :literal :pathliteral :quantity :object
    valueB :integer :floating :complex :rational :quantity :object

Returns

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

Examples

copy
print mul 1 2 ; 2 print 2 * 3 ; 6

copy
a: 5 mul 'a 2 ; a: 10

Related