Asia & global innovation
Sign inJoin us
TechStar AsiaIdeas without bordersAsia & global innovation
← Latest news

From Dev.to

rust_decimal vs bigdecimal: Money Types in Rust

Decimal::from_str("100000000000.000000000000000001") returns Ok. The value inside is 100000000000.00000000000000000: rust_decimal dropped the last wei to fit its 96-bit mantissa and raised no error. C...

Read the full report at Dev.to ↗