I am trying to define a custom number format to simply prepend +
or -
to positive and negative numbers, and I want to use the default number formatting that only includes as many places or decimals as necessary.
For example general format:
8
-5.25
6.5
-2.75
would instead be displayed as:
+ 8
- 5.25
+ 6.5
- 2.75
The closest I've gotten so far is + #.###; - #.###;
, but this still attached trailing decimal points to whole numbers. How can I just drop in the general number format after the sign?