DEV Community

Abhiram
Abhiram

Posted on

IntroducingšŸ„ my CLI based NUMERICAL SYSTEM CALCULATOR and SCRIPT DETECTOR

Multi-Dimensional Calculator

Decimal Conversion

This Rust project demonstrates how to perform number conversions with decimal points using a user-defined module. The project uses the rust_decimal crate for high-precision decimal arithmetic.

  • Conversion from base to another with a accuracy upto a base of of 32 [for high accuracy]

Area Calculator

This rust project was upgraded with ability to calculate areas of:-

  • Square
  • Rectangle
  • Triangle
  • Circle
  • Regular polygon with n side

and ability to convert into various units.

Temperature Convertor

A ability to convert from temperatures units of celcius,fahrenheit,kelvin,rankine fom one another.

  • Also it can convert from one unit to another with a accuracy upto 4 decimal places.

Lenght Convertor

This project was upgraded with ability to convert from length units of meter,centimeter,inch,foot,yard,mile.

Physics Calculator

this project was upgraded with ability to calculate:-

  • mass
  • foce
  • energy
  • velocity
  • pressure
  • acceleration
  • volume

and ability to convert into various units.

Miscellaneous Operation

  • Angle operations
  • Data Transfer unis
  • Fuel Economy units

Time Operation

  • Time conversion from one unit to another
  • Time calculation of time difference between two time
  • Calculate effiency of a work

Fuel Calculations

  • Get ideas about efficiency
  • get knowledge about environmental issues like carbon footprint
  • Annual Fuel Cost
  • Fuel consumptions
  • Monthly savings when buying a new car

Data Transfer

  • Converting into various bases
  • Network Speed predictor
  • Network Statistics

Language and Script Pedictor

  • Write a text/copy the text from another source and paste here it to get the language and script details
  • Added system relaiblity and predicatbilty showing how much reliable the data is

Project Structure

  • src/
    • main.rs: The main entry point of the application.
    • arithmetic.rs: A module containing functions for arithmetic operations.
    • area.rs: A module containing functions for area calculations.
    • data.rs : A module containing operations for data transfer speed.
    • physics.rs: A module containing details about physics operation.
    • lenght.rs : Amodule containg information about lenght operations
    • physicc.rs: A subpart module of physics.rs containg operation about convertsion from one base to another
    • tempe.rs: A module containing details of temperature.
    • time.rs: A module containg details of time operations.
  • target/
    • contains debugging files
  • cargo.lock
  • cargo.toml

Dependencies

  • rust_decimal: A crate for high-precision decimal arithmetic.
  • rust_decimal_macros: A crate for creating decimal literals.

Add the following to your Cargo.toml file:

[dependencies]
rust_decimal = "1.36"
rust_decimal_macros = "1.36"
whatlang="0.16.4"
Enter fullscreen mode Exit fullscreen mode

Please adhere to this project's code of conductand support the developer with a follow and star.

Development of project completed on 9/21/2024 at 7:44 UST

For any suggestions and changes please free to comment.Please do likeā™„ļøthe post for encouraging me to do more such works

Author

Top comments (0)