DEV Community

Abhiram
Abhiram

Posted on • Edited on

Numeric Convertion

Logical Number Conversion using Rust

Fed up with stupid calculations in logic system design told a friend, found solution thanks to my best friend RUST

Welcome to the Base Converter project! This Rust application allows you to convert numbers from any logical base to another. Whether you’re working with binary, hexadecimal, or any other base, this tool has got you covered.

Features

  • Convert numbers between any two bases (2-36)
  • User-friendly command-line interface
  • Error handling for invalid inputs
  • Efficient and fast conversion algorithms

Working

Image description

Cargo.toml dependecies

[dependencies]
rust_decimal = "1.36"
rust_decimal_macros = "1.36"

Code available at Github

Hope you all this and please share your opinion and modifications...
Thank you

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more