Hello all,

I have been looking for a way to do in Racket
something you can easily do in C:

printf("%10.5lf\n", 12.345678);

so it properly cuts the fractional part to 5 digits
and adds padding to get 10 characters in total,
producing "  12.34568" as a result.


Best regards,

Dmitry
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to