Nicely formatted email body.
This commit is contained in:
parent
ac967be970
commit
f2389c963d
3 changed files with 29 additions and 17 deletions
|
@ -41,7 +41,8 @@
|
|||
(let* ((str (number->string amt))
|
||||
(flds (string-split str "."))
|
||||
(integer? (null? (cdr flds))))
|
||||
(if integer?
|
||||
(if (or integer?
|
||||
(string=? (cadr flds) "0"))
|
||||
(format "~A.--" (car flds))
|
||||
(format "~A.~A"
|
||||
(car flds)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue