Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exporting to csv changes last number of integer to 0 #195

Open
stevenmcdermott8 opened this issue Jan 19, 2017 · 0 comments
Open

Exporting to csv changes last number of integer to 0 #195

stevenmcdermott8 opened this issue Jan 19, 2017 · 0 comments

Comments

@stevenmcdermott8
Copy link

I have an object created and inserted into the scope through an api call. Basically intended to represent a series of database table rows in an object. This data is then displayed on an page using angular with jsp. All data displays correctly. Then using the ng-csv directive inputting this object like this:

Export to CSV

getHeader() code:
$scope.getHeader = function () {
return ["id", "name", "value"];
}

the column in question here is "value".

In my UI I see this set of values:

1230089771927192
1230089771917191
1230089771907190

But I see this in the CSV:
1230089771927190
1230089771937190
1230089771947190

Another example:

In UI :
3001703901160116
3001703901170117
3001703901180118
3001703901190119

In CSV:
3001703901160110
3001703901170110
3001703901180110
3001703901190110

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant