Hi! sorry if this is not the right list. If so, please tell me where can I post this
I am doing a gnome app that parses a text file and puts its results on a GtkCtree and GtkClist I have this extrange behaviour in catalan, spanish or french locales were comma is decimal separator: a float number with decimals is displayed as number comma decimals a float number without decimals is displayed as number point 0 Am I doing something wrong? Here is a sample code to show up <----------> #!/usr/bin/python import gnome.ui a='2,5' b='2' fa=float(a) fb=float(b) print fa,fb <----------> and the output: ./prova.py 2,5 2.0 _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
