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

Error when multiplying a string and float in mgrslib.py #4

Open
JasonDalton opened this issue Nov 23, 2021 · 0 comments
Open

Error when multiplying a string and float in mgrslib.py #4

JasonDalton opened this issue Nov 23, 2021 · 0 comments

Comments

@JasonDalton
Copy link

The anaconda interpreter points to this line with the error "can't multiply sequence by non-list of type 'float'"

return int('1'+('0'*(abs(5-self.precision))))

There is an attempt to multiply a float and string there, and i'm only starting to use this package, so I'm not sure if it worked in earlier versions of Python.

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