[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: lujit - Malformed number
- From: Sylvain Fabre <sylvain.fabre@...>
- Date: Fri, 03 Sep 2010 22:01:04 +0200
We are also evaluating luajit and we get a strange error each time we
deal with a float (ie like 3.14116) : we get a 'Malformed number ...' error.
In the main core of the program embedding lua, we call the
setlocale(LC_ALL, "C"); but it does not seem to change anything. Even
calling the os.setlocale from the lua script does not change this.
But i we set the value 3,14116 (ie "french-like"), then the number is
Any idea to fix this ? After a look in the luajit code, i was no table
to find where the decimal point is detected (or not).
Fixe: 09 72 11 30 24
Mobile: 06 30 12 72 34
Fax : 09 72 11 10 71