Double parameters will satisfy the following regular expression:
[0-9]+([.][0-9]*)?
Any double that does not satisfy this regular expression should be considered
invalid and will cause an <InvalidCommand> message to be printed.
(HINT: Double.parseDouble()!)