akubera / bigdecimal-rs

Arbitrary precision decimal crate for Rust
Other
284 stars 71 forks source link

Use scientific notation for fmt::Display and fmt::Debug please #91

Closed LambdaAlpha closed 6 months ago

LambdaAlpha commented 2 years ago

Currently, BigDecimal will generate huge string if the exponent is large.

println!("{}", BigDecimal::from_str_radix("1.2e9999999999", 10).unwrap());
declanvk commented 6 months ago

@akubera is this resolved by the changes release in 0.4.3, namely #121 ?

akubera commented 6 months ago

Yes.