Bug #1783 : les nombres commençant par zéro ne sont pas supportés
https://bug.noalyss.eu/view.php?id=1783
This commit is contained in:
parent
867b757a70
commit
0f504f6357
1 changed files with 1 additions and 1 deletions
|
|
@ -267,7 +267,7 @@ function compute_number(value)
|
|||
retval = eval(value);
|
||||
} catch (e)
|
||||
{
|
||||
return 0;
|
||||
return parseFloat(value);
|
||||
}
|
||||
/*pour gérer les divisions par 0*/
|
||||
if (retval == Infinity)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue