Bug #2336

duktape (glw?) doesn't convert integer to string properly

Added by Leonid Protasov over 6 years ago. Updated over 6 years ago.

Status:FixedStart date:11/05/2014
Priority:NormalDue date:
Assignee:Andreas Smas% Done:


Target version:4.8
Found in version:Latest BE Platform:Linux


title = 2014;
page.appendItem(link, 'directory', {
    title: 2014

What you see in ST is 2014.000000

But if you do '' + 2014 it is '2014'...

Associated revisions

Revision 63cc187c
Added by Andreas Smas over 6 years ago

ecmascript: Try to convert duktape number to integer if possible

Fixes #2336

Change included in version 4.7.440


#1 Updated by Andreas Smas over 6 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Also available in: Atom PDF