Skip to content

This repository is about the Library containing the module of the Calculator and it's other different things on it also on the convertions of different units.

Notifications You must be signed in to change notification settings

ackwolver335/Calculator

Repository files navigation

🚀 Calculator - A Python Library

⚡️ About

A well-known programming language's Repo "Python" containing the known knowledge of Fundamentals of General requirement of a Calculator with different units of our environmental needs.

⚡️ Available Categories in Repo

  • BMI - Contains different methods regarding calcutions on BMI [Body Mass Index].
  • Data Units - Units that we generall used to find in storage units like MB,GB,TB,.. and so on.
  • Discount - Units regarding the calculations of different discounts while you used to shop.
  • Length - Units that are used to get into the distance countable like CM,MM,DM,..and so on.
  • Temperature - Units that are useful regarding calculations of temperature in different degrees.
  • Time - Units regarding time and its conversions to get simply used further.
  • Volume - Units regarding calculations of different quantities of volumes.
  • Weight - Units related to different quantities of weights.

Brief Explanation of Units

🛠 BMI Methods

Methods Uses
heightinch() Used in order to calculate BMI after passing the height in inch
heightmtr() Used to get the BMI after passing height in Meters
heightcm() Used to get BMI after passing the height in CentiMeter
heightfoot() Used in order to calculate BMI after passing the height in foot

Note : Further code and data element is given in BMI file.

🛠 Data Unit's Module

It contains methods regarding the conversions in units of storage devices like bit,bytes,KB,.. and so on. Due to which one of them is shown in order to have an idea of this particular module.

Methods Uses Methods Uses
bt2byte() Conversion of Bit to Byte byt2bt() Conversion of Byte to Bit
bt2kb() Conversion of Bit to KB byt2kb() Conversion of Byte to KB
bt2mb() Conversion of Bit to MB byt2mb() Conversion of Byte to MB
bt2gb() Conversion of Bit to GB byt2gb() Conversion of Byte to GB
bt2tb() Conversion of Bit to TB byt2tb() Conversion of Byte to TB
bt2pb() Conversion of Bit to PB byt2pb() Conversion of Byte to PB
bt2eb() Conversion of Bit to EB byt2eb() Conversion of Byte to EB
bt2zb() Conversion of Bit to ZB byt2zb() Conversion of Byte to ZB
bt2yb() Conversion of Bit to YB byt2yb() Conversion of Byte to YB

Note : In this similar way other data units are given in Data file.

🛠 Discount Module

A Module containing simply one method in order to work on just calculating one discount not on other else things.

Note : File is available with name Discount

🛠 Length Module

It contains different units that can be considered both in minor and major categories. Cause of availability of more than one unit's category, we have the explanation on one to be considered with others.

Methods Uses Methods Uses
km2meter() Covnersion of km to mtr m2km() Convesion of mtr to km
km2dm() Conversion of km to dm m2cm() Conversion of mtr to cm
km2cm() Conversion of km to cm m2dm() Conversion of mtr to dm
km2mm() Conversion of km to um m2mm() Conversion of mtr to mm
km2nm() Conversion of km to nm m2um() Conversion of mtr to um
km2pm() Conversion of km to pm m2nm() Conversion of mtr to nm
km2miles() Conversion of km to miles m2pm() Conversion of mtr to pm
km2foot() Conversion of km to foot m2miles() Conversion of mtr to miles
km2yard() Conversion of km to yard m2yard() Conversion of mtr to yard
km2inches() Conversion of km to inches m2foot() Conversion of mtr to foot

Note : In the similar way other distance units at micro and macro level are available in Length file.

🛠 Temperature Module

It contains the different categories of temperature units available in our environment even in degree or in other default units of temperature.

Methods Uses Methods Uses
c2F() Conversion of celsius to Fahrenheit f2c() Conversion of Fahrenheit to celsius
c2k() Conversion of celsius to kelvin f2k() Conversion of Fahrenheit to kelvin
c2rankine() Conversion of celsius to rankine f2rankine() Conversion of Fahrenheit to rankine
c2reaumur() Conversion of celsius to reaumur f2reaumur() Conversion of Fahrenheit to reaumur

Note : Similar to this one further code content is available in Temperature file.

🛠 Time Module

It contains the different categories of Time Units available in our countable in micro and nano as per the speed of time.

Methods Uses Methods Uses
yr2month() Conversion of year to months wk2yr() Conversion of week to year
yr2wk() Conversion of year to week wk2month() Conversion of week to month
yr2days() Conversion of year to days wk2days() Conversion of week to days
yr2h() Conversion of year to hours wk2h() Conversion of week to hours
yr2min() Conversion of year to minutes wk2min() Conversion of week to minutes
yr2sec() Conversion of year to seconds wk2sec() Conversion of week to seconds
yr2millsec() Conversion of year to milliseconds wk2millsec() Conversion of week to milliseconds
yr2microsec() Conversion of year to microseconds wk2microsec() Conversion of week to microseconds
yr2picosec() Conversion of year to picoseconds wk2picosec() Conversion of week to picoseconds

Note : In the similar way further code content in available in Time file.

🛠 Volume Module

It contains different units regarding the volumes in the real world, in this one we have different available units.

Methods Uses Methods Uses
mcub2dmcub() Conversion of mtr3 to dm3 ltr2m3() Conversion of ltr to mtr3
mcub2cmcub() Conversion of mtr3 to cm3 ltr2dm3() Conversion of ltr to dm3
mcub2mmcub() Conversion of mtr3 to mm3 ltr2cm3() Conversion of ltr to cm3
mcub2hctl() Conversion of mtr3 to hectal ltr ltr2mm3() Conversion of ltr to mm3
mcub2ltr() Conversion of mtr3 to ltr ltr2hl() Conversion of ltr to hl
mcub2dcltr() Conversion of mtr3 to dcltr ltr2dl() Conversion of ltr to dl
mcub2cltr() Conversion of mtr3 to cltr ltr2cl() Conversion of ltr to cl
mcub2mltr() Conversion of mtr3 to mltr3 ltr2ml() Conversion of ltr to ml
mcub2ft3() Conversion of mtr3 to ft3 ltr2ft3() Conversion of ltr to ft3
mcub2inch3() Conversion of mtr3 to inch3 ltr2inch3() Conversion of ltr to inch3
mcub2yd3() Conversion of mtr3 to yd3 ltr2yd3() Conversion of ltr to yd3
mcub2af3() Conversion of mtr3 to af3 ltr2af3() Conversion of ltr to af3

Note : Further code and resources will be available in Volume File.

🛠 Weight Module

This Module contains different types of units or category of units regarding the calculations related to weights.

Methods Uses Methods Uses
kg2g() Coversion of kg to g g2tonne() Conversion of gram to tonne
kg2milligm() Conversion of kg to milligm g2kg() Conversion of gram to kg
kg2microgm() Conversion of kg to microgm g2mg() Conversion of gram to milligm
kg2tonne() Conversion of kg to tonne g2microg() Conversion of gram to microgm
kg2quintal() Conversion of kg to quintal g2quintal() Conversion of gram to quintal
kg2pound() Conversion of kg to pound g2pound() Conversion of gram to pound
kg2ounce() Conversion of kg to ounce g2ounce() Conversion of gram to ounce
kg2carat() Conversion of kg to carat g2carat() Conversion of gram to carat
kg2grain() Conversion of kg to grain g2grain() Conversion of gram to grain
kg2st() Conversion of kg to stone g2stone() Conversion of gram to stone
kg2dr() Conversion of kg to dram g2dram() Conversion of gram to dram

Note : Further Code explanation is been given in Weight file.

📫 How to Reach Me

Support Me

If you likes what I do and want to support me :

  • Give me a ⚡️ Star on my Repo
  • Share my work and profile with your network

Thanks for visiting my Github Repo ! Hope you find my projects useful, helpful and inspiring. Let's connect and collaborate to build something amazing !

Abhay Chaudhary Ack Wolver !

About

This repository is about the Library containing the module of the Calculator and it's other different things on it also on the convertions of different units.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages