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

Unable to parse scientific notation string to decimal when scale is 0 #5739

Closed
yjshen opened this issue May 9, 2024 · 0 comments · Fixed by #5740
Closed

Unable to parse scientific notation string to decimal when scale is 0 #5739

yjshen opened this issue May 9, 2024 · 0 comments · Fixed by #5740
Labels

Comments

@yjshen
Copy link
Member

yjshen commented May 9, 2024

To Reproduce

fn main() -> Result<()> {
    parse_decimal::<Decimal128Type>("1.234e16", 20, 0).unwrap();
    Ok(())
}

Expected behavior

Parse the string successfully.

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant