[NTG-context] Number format with lua

Pablo Rodriguez oinos at gmx.es
Sat Nov 9 11:03:48 CET 2019

On 11/9/19 10:38 AM, Fabrice Couvreur wrote:
> Hi,
> In the table below, how to have numbers with only three decimals?

Hi Fabrice,

at least in your sample "0.4g" seems the way to go, such as in:

  context.startxcell() context("%0.4g",1.031^i) context.stopxcell()

Just in case it might help,


More information about the ntg-context mailing list