number of digit in gtk_list/gtk_tree ?



I use G_TYPE_FLOAT in gtk_list/gtk_tree. How can I set the number of digits/decimal to be displayed in the
cellview.

For example,

102.099998 should be display as 102.1 in the cellview.


Best Regards,


--
Edward Liu
Springsoft Inc.





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