Commit 1155f0d7 changed `UnitsApi::getDecimals()` from `int` to `size_t`, which changes the meaning of the negation since it is now unsigned. Cast it to an integer before the negation to restore the old behavior.
1155f0d7