--fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Florian Frank (flori / nixe.ping.de) wrote: > Michael 'entropie' Trommer wrote: > >What s my mistake? > You didn't use a precision: > > sprintf("%10.2s", "lalaa") # => " la" > This creates a size 10 string, left padded with spaces, and displays the > floating point number with two decimal places. thanks alot. So long -- Michael 'entropie' Trommer; http://ackro.org ruby -e "0.upto((a='njduspAhnbjm/dpn').size-1){|x| a[x]-=1}; p 'mailto:'+a" --fUYQa+Pmc3FrFX/N Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDqfgsBBd8ye5RguQRAtRTAJ0aUQPkzc1168t++MAxmO/YRdz+3gCfSarB FqUTXNfe2BSIJ+FliVeDfgI iE -----END PGP SIGNATURE----- --fUYQa+Pmc3FrFX/N--