[fixed] numeric[217/17] not working as expected
Hallo,
I use geogebra 4.4.7.0 and can not use numeric any more.
From the log:
------------------------------
17:41:59.132 DEBUG: geogebra.common.i.p.b.a[-1]: Numeric[217/17]
17:41:59.137 DEBUG: geogebra.a.a.a.b[-1]: giac input: [[ggbans:=(217)/(17)],when(dim(lname(ggbans))==0 || count_eq(unicode0176u,lname(ggbans))>0,evalf(ggbans),evalf(normal(ggbans)))][1]
17:41:59.140 DEBUG: geogebra.a.a.a.b[-1]: giac output: 12,76470588235
17:41:59.141 DEBUG: geogebra.common.i.p.b.a[-1]: 12,76470588235
17:41:59.150 ERROR: geogebra.common.i.j.o.g[-1]: GeoCasCell.computeOutput(), CAS eval: Numerisch[217 / 17]
error: Encountered " <COMMA> ", "" at line 1, column 3.
Was expecting one of:
-------------------------------
It looks like giac uses decimal comma, but geogebra expects decimal point.
I use openSUSE Linux 13.1 and Java 1.7.0. Do I have to change the locale for geogebra to work?
I'm confused.
Bye,
Frank
I investigated some more:
In germany locale is set to de_DE.UTF-8.
giac uses this locale and outputs 12,76
geogebra does not use the locale and expects 12.76
I could work around this problem by explicitly setting
LC_NUMERIC=en_US.UTF-8
I guess geogebra and giac should use same locale settings.
Bye,
Frank
Please try version 4.9.243.0 which should include your fix:
http://download.geogebra.or...
Thank you,
2.9.243 works as expected.
Will this fix be included in a 4.4.x release?
Bye, Frank
Sorry, typo. 4.9.243 !!!
Yes: please try 4.4.9.0
I tried 4.4.10. The bug is gone.
Thank you.
Comments have been locked on this page!