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

Userid should be returned as string, not long #5

Closed
bjornasm opened this issue Mar 15, 2015 · 1 comment
Closed

Userid should be returned as string, not long #5

bjornasm opened this issue Mar 15, 2015 · 1 comment

Comments

@bjornasm
Copy link

Some userId's is in the form '00000008'. While they are returned as long or int, they will be returned as "8", which will be wrong as mmsi numbers shall be nine digits. A fix is to return it as string type, not long.

@bcl
Copy link
Owner

bcl commented Mar 17, 2015

You should pad out the leading zeros when you convert it.

@bcl bcl closed this as completed Mar 17, 2015
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

2 participants