akubera / bigdecimal-rs

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

Support `width` argument in fmt::Display #36

Closed koenw closed 6 years ago

thargor commented 6 years ago

This pull request only handles width.

37 also handles alignment, zero padding and even has some tests.

akubera commented 6 years ago

Thanks a lot for your contribution, but I'm going with thargor's implementation as it also handles alignment.