javascript - Number value is getting changed in JS -


this post id:

var postid = 47213486358396931; var postcomments = "comment"; 

adding in object

var param = {     "postid" : postid,     "postcomment":postcomments }  

if print param this. last digit of number changed 0. why getting this.

{"postid" : 47213486358396930, "postcomment": "comment"} 


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -