Show two decimals in table numbers

This commit is contained in:
Marcus Kammer 2024-08-19 18:30:00 +02:00
parent b2d862596e
commit 792730ddd9
Signed by: marcuskammer
GPG key ID: C374817BE285268F

View file

@ -26,7 +26,7 @@ Returns:
- If CONTENT is a number, a string representation with 9 decimal places.
- Otherwise, the original CONTENT."
(if (numberp content)
(format nil "~,9f" content)
(format nil "~,2f" content)
content))
(defun render-tbl-header (headers)