{"id":74272,"library":"num-decimal","title":"Num Decimal","description":"Infinite precision decimals with fair rounding and other gimmicks based on num-rational.","status":"active","version":"0.2.5","language":"rust","source_language":null,"source_url":"https://github.com/d-e-s-o/num-decimal","tags":["decimal","precision","arithmetic","rational"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nnum-decimal = \"0.2.5\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add num-decimal","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Decimal","correct":"use num_decimal::Decimal;"}],"quickstart":{"code":"use num_decimal::Decimal;\n\nfn main() {\n    let a: Decimal = \"1.5\".parse().unwrap();\n    let b: Decimal = \"2.3\".parse().unwrap();\n    let sum = a + b;\n    println!(\"Sum: {}\", sum);\n}","lang":"rust","description":"Parse decimal strings and perform arithmetic with infinite precision."},"warnings":[],"env_vars":null,"search_vec":"'arithmet':19 'base':12 'decim':2,5,17 'fair':7 'gimmick':11 'infinit':3 'num':1,15 'num-rat':14 'precis':4,18 'ration':16,20 'round':8","created_at":"2026-06-17T19:01:36.361054+00:00","updated_at":"2026-06-17T19:01:36.361054+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/d-e-s-o/num-decimal","github":"https://github.com/d-e-s-o/num-decimal","docs":"https://docs.rs/num-decimal/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility","other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}