There's SRFI 48 and SRFI 54, both supported in Racket:

#lang racket
(require srfi/48)
(format "~6,5F" pi)

=>

"3.14159"

-
Chongkai

On 12/17/2010 12:58 AM, Manfred Lotz wrote:
Hi there,
Common Lisp has format to print stuff like for example:

(format t "~,5f" pi)
3.14159


I found format and printf but they seem to be a bit poor in term of
printing capabilities.

Is there anything similar to CL's format in Racket?





_________________________________________________
 For list-related administrative tasks:
 http://lists.racket-lang.org/listinfo/users

Reply via email to