Skip to main content

Search and Top Navigation

#8970 closed bug (notabug)

Opened January 17, 2013 05:40AM UTC

Closed January 17, 2013 05:54AM UTC

Last modified January 17, 2013 06:12AM UTC

Numbers rounding off issue

Reported by: karthio Owned by:
Priority: minor Milestone: none
Component: ui.core Version: 1.9.2
Keywords: Cc:
Blocked by: Blocking:

I am using jquery mobile framework with Java (json with spring) for my mobile application.server sends response as 1.2345678901234568E16 for one of the value but jquery in UI, its not receiving the value as it is. It is doing type conversion/auto rounding off while displaying in UI.

FYI, I am using Double datatype in server side. Also i tried use .attr() attribute to get the original value. But the problem is, am iterating over the dynamic values. could you please help me out to solve this issue? Please let me know if you need further information

Attachments (0)
Change History (2)

Changed January 17, 2013 05:54AM UTC by scottgonzalez comment:1

resolution: → notabug
status: newclosed

This is the bug tracker for jQuery UI, not jQuery Mobile. Please report jQuery Mobile issues at However, this does not sound like a jQuery Mobile bug, but rather a difference in how Java and JavaScript handle numbers.

Changed January 17, 2013 06:12AM UTC by scottgonzalez comment:2

#8971 is a duplicate of this ticket.