numberFormat to datagrid
Klaus on-rev
klaus at major.on-rev.com
Mon Jun 22 14:21:17 EDT 2009
Hi Josep,
> Hi list,
>
> How to apply the "set the numberFormat to "#.000" into the
> datagrid ? I have
> the numeric values with 6 positions for decimals but only I want
> show 3. I
> put it into the FillData but nothing happen..
>
> Any idea?
Yep :-)
"the numberformat" will only affect the result of a calculation.
So you could do this in your "fillData" handler:
...
set the numberFormat to "#.000
add 0 to your_value_here
...
That should do the job.
> Salut,
> Josep
Best
Klaus
--
Klaus Major
http://www.major-k.de
klaus at major.on-rev.com
More information about the use-livecode
mailing list