- :integer
- :floating
product
∏
calculate the product of all values in given list
Parameters
product collection :block :range
Attributes
cartesian | return the cartesian product of given sublists |
Returns
Examples
copyprint product [3 4] ; 12 print product [1 2 4 6] ; 48
copyprint product 1..10 ; 3628800