[GLIB] Handling float with gscanner



I'm trying to use gscanner to read float numbers, and it works well if I
use unsigned numbers. But when I try to read a number like -17.0, it
complains. It seems that it doesn't recognize the sign '-'.

Is it normal?

Thanks for your help,

Fabian Bastin.




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