We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The function can't return a negative value if there is a decimal point.
#include <raylib.h> static void parse(const char *text) { TraceLog(LOG_INFO, "TextToFloat(\"%s\") = %g", text, TextToFloat(text)); } int main(void) { parse("-1"); parse("-1."); parse("-1.5"); }
output:
INFO: TextToFloat("-1") = -1 INFO: TextToFloat("-1.") = 1 INFO: TextToFloat("-1.5") = 1.5
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Issue description
The function can't return a negative value if there is a decimal point.
Code Example
output:
The text was updated successfully, but these errors were encountered: