..
original commit: 00e6c9cbc436109642fbe92a4974df094f735ae6
This commit is contained in:
parent
351384bf09
commit
350f54131a
|
@ -409,7 +409,7 @@
|
|||
(send memory-text lock #t)
|
||||
(send memory-text end-edit-sequence)))]
|
||||
|
||||
(define/private (format-number n)
|
||||
(define (format-number n)
|
||||
(let loop ([n n])
|
||||
(cond
|
||||
[(<= n 1000) (number->string n)]
|
||||
|
@ -419,11 +419,11 @@
|
|||
","
|
||||
(pad-to-3 (modulo n 1000)))])))
|
||||
|
||||
(define (pad-to-3 n)
|
||||
(cond
|
||||
[(<= n 9) (format "00~a" n)]
|
||||
[(<= n 99) (format "0~a" n)]
|
||||
[else (number->string n)]))
|
||||
(define (pad-to-3 n)
|
||||
(cond
|
||||
[(<= n 9) (format "00~a" n)]
|
||||
[(<= n 99) (format "0~a" n)]
|
||||
[else (number->string n)]))
|
||||
|
||||
; only for CVSers
|
||||
(when show-memory-text?
|
||||
|
|
Loading…
Reference in New Issue
Block a user