You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/12/08 19:32:42 UTC
[GitHub] [arrow-rs] alamb commented on issue #983: Remove scientific notation when converting floats to strings.
alamb commented on issue #983:
URL: https://github.com/apache/arrow-rs/issues/983#issuecomment-989132112
Instead of calling `c.1.to_string()` perhaps you could use something like this (untested):
```rust
match c {
Field::Float(f) => format!("{}", f), // or however else you wanted to format floats
Feld::Double(f) => format!("{}", f), // or however else you wanted to format floats
_ => c.to_string()
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org