I would like to create a command that can multiply consecutive integers together (if it doesn't already exists).
How do I create a command, say \multiply{<first_number>}{<last_number>}, using LaTeX3, that multiplies all the integers from <first_number> to <last_number>?
Example: I would like \multiply{4}{9} to do the multiplication 4*5*6*7*8*9 and return the value 60480.
Unfortunately, I can't even create some 'starting' code for you (sorry!) since I haven't learned the L3 syntax yet. Therefore, I know it is a 'please do all the work for me' kind of question. :-(


\multiplyor\Multiply. – ors Mar 13 '24 at 10:12