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

getFloat() returns no value #3

Open
gibman opened this issue Jan 18, 2019 · 2 comments
Open

getFloat() returns no value #3

gibman opened this issue Jan 18, 2019 · 2 comments

Comments

@gibman
Copy link

gibman commented Jan 18, 2019

hi.
Couldn't figure out why all my calls to .getfloat() resulted in 0.

That was until I saw that no value was returned in the getFloat method.
after fixing this I was back in business again.

float TextFinder::getFloat()
{
   getFloat(NO_SKIP_CHAR);
}

=>

float TextFinder::getFloat()
{
   return getFloat(NO_SKIP_CHAR);
}
@tardate
Copy link
Owner

tardate commented Jan 18, 2019

doh, that could ruin your day! This is a port of the original lib to github, and to be honest, ages since I've used it. I'll see if there's an upstream fix to merge in first, else just fix it here.
Thanks for the note!

@amotl
Copy link

amotl commented May 23, 2023

Hi there,

I've just submitted a fix at GH-4. The original library 1 does not have that fix yet.

With kind regards,
Andreas.

Footnotes

  1. https://playground.arduino.cc/Code/TextFinder/

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

3 participants