I said:
Why Q89*-1 when -Q89 would seem to do just as well?
I did not pay close enough attention to that odd formulation. The
simplest form of the 3rd parameter is, of course: -mround(-Q89,5).
In any case....
The said:
I need to round numbers to the nearest ZERO or FIVE. Both Positive and
Negative. I am using the formula "=ROUND(Q89,1-LEN(INT(Q89))".
Bearacade paid attention to the OP's first sentence. Perhaps we should
pay more attention to the OP's second sentence, which contradicts the
first (klunk!).
The OP's formulation rounds the __first_significant_integer_digit__ of
a positive number. So perhaps the OP wants to round the first
significant integer digit to 0 or 5. On the other hand, since that
makes little sense, perhaps the OP is using the entirely wrong formula
out of ignorance of what it really does, and Bearacade's interpretation
might be right after all. On the "third hand", the OP might have
really intended something else altogether.
Suffice it to say, the OP is likely to get a "correct" answer if he/she
explains his/her intent better, with concrete examples that demonstrate
the desired behavior for some "interesting" cases.
PS: The problem with rounding negative numbers is: there is no
universal agreement on what the result should be. Should -1.5 round to
-2 or -1? That is a rhetorical question. People have been debating
the question at least since Fortran introduced the INT function, as I
recall. But since there is no single answer, it would behoove the OP
to indicate what he/she wants for specific examples of negative numbers.