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

Do your career a big favor. Join DEV. (The website you're on right now)

It takes one minute, it's free, and is worth it for your career.

Get started

Community matters

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay