summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
eff708d)
closes #225
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
if (s <= 1000)
{
res = s.toString();
if (s <= 1000)
{
res = s.toString();
}
else if (s < 1000000)
{
res = Math.floor(s/100) / 10;
}
else if (s < 1000000)
{
res = Math.floor(s/100) / 10;
}
else
{
res = Math.floor(s/100000) / 10;
}
else
{
res = Math.floor(s/100000) / 10;
}
if (res == 0)
return '';
}
if (res == 0)
return '';