Setting float precision in a TreeView




Hello,

I'm using a TreeView, ListStore, and CellRendererText to display
float values (G_TYPE_FLOAT), and currently the renderer shows
several digits of precision, while I would like to have it show
only 2 digits of precision. Is there some way I can configure
ther renderer to use fewer digits?

Thanks for help on this.

 - Jesse



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]