Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#8970 closed bug (notabug)

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:

Description

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

Change History (2)

comment:1 Changed 10 years ago by Scott González

Resolution: notabug
Status: newclosed

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

comment:2 Changed 10 years ago by Scott González

#8971 is a duplicate of this ticket.

Note: See TracTickets for help on using tickets.