I don't know whether there is any rule about this. But I've been wondering that if a math question is ended with an exclamation mark, would it be misinterpreted with "factorial"? For example, consider this question below.
Calculate $6! \times 2!$
Does it mean that we should calculate $6! \times 2!$ or $6! \times 2$?
But now if we write the question as below:
Calculate $6! \times 2!!$
Does it mean that we should calculate $6! \times (2!)!$ or what?
Now if we write this instead:
Calculate $6! \times 2!.$
it's clearer that we must calculate $6! \times 2!$. But grammatically speaking, should an exclamation ended with an exclamation mark?
I know it's a kind of weird question, but what do you think?