[Dev-luatex] numbers formatting

Paweł Jackowski P.Jackowski at gust.org.pl
Sun Nov 15 21:01:21 CET 2009


> Hans asked for more precision in tostring() for small numbers, and
> this was the result. Please try the latest trunk, which uses a somewhat
> different approach ands seems to be more reliable.

All cases I tried gives neat results by now.

> %.99g

Round the number explicitly and use enough digits in %g format to cover 
all. You're right.

Thank you!
Pawe/l Jackowski
P.Jackowski at gust.org.pl

More information about the dev-luatex mailing list