Is there a simple way to align on the decimal dot a column of floats? In other words, I would like an output like the one of (vertical bars '|' are there only for clarity purpose)
(format t "~{|~16,5f|~%~}" '(798573.467 434.543543 2.435 34443.5))
which is
| 798573.44000|
| 434.54355|
| 2.43500|
| 34443.50000|
but with trailing spaces instead of zeros, as follows:
| 798573.44 |
| 434.54355|
| 2.435 |
| 34443.5 |