- May
- 13,802
- 211
Sometimes, I'd like to express positive numbers with a '+'. If there's a built-in way to do it I am unaware of it. I can do it with @IF but that's cumbersome, especially on the command line.
Perhaps @EVAL's output format specification, normally =(E|H|B|i[.a]) could be given another (optional) parameter ... =(E|H|B|i[.a])[+] to indicate that a '+' is desired on positive numbers (0 too?).
Or maybe @FORMATN could be overloaded somehow to do this.
Perhaps @EVAL's output format specification, normally =(E|H|B|i[.a]) could be given another (optional) parameter ... =(E|H|B|i[.a])[+] to indicate that a '+' is desired on positive numbers (0 too?).
Or maybe @FORMATN could be overloaded somehow to do this.