rust_decimal_ext

rust_decimal_ext
is an extension library that adds more operator trait support to rust_decimal. With this library, you can more conveniently perform arithmetic operations on Decimal
types, supporting automatic conversion and addition with numbers, strings, and other types.
Usage
use *;
let mut a = from + 100;
let mut b = from + 3.14;
let mut c = from + "3.14";
let mut d = from + "3.14".to_string;
a += 100;
b += 3.14;
c += "3.14";
d += "3.14";
assert!;
assert!;
assert!;
assert!;