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

Small problem with Parse #2

Open
ErickBessa opened this issue Jul 24, 2020 · 0 comments
Open

Small problem with Parse #2

ErickBessa opened this issue Jul 24, 2020 · 0 comments

Comments

@ErickBessa
Copy link

Hello I would like to register a problem I found in RmcData.Parse.
Currently the time in utc places decimal point causing exception. For that I made a small change, below:

Function: public static RmcData Parse(string inputString)
Code Include:

//--- if utc have decimal numbers.
            if (values[1].Contains("."))
                values[1] = values[1].Substring(0, values[1].IndexOf("."));

Thanks

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