Skip to main content

Basic math functions

Project description

This is a library with basic math functions, including adding two numbers, getting the value of pi, converting fahrenheit to celsius, converting celsius to fahrenheit, and much more!

Install via pip

pip install basicmathfunctions

Functions

add_two_numbers(number1, number2)
  • Add two numbers
subtract_two_numbers(number1, number2)
  • Subtract two numbers
multiply_two_numbers(number1, number2)
  • Multiply two numbers
divide_two_numbers(number1, number2)
  • Divide two numbers
pi()
  • Get value of pi (to 4 decimal places)
the_power_of(number, power)
  • Get a number to the power of another number
sqrt(number)
  • Get the square root of a number
f_to_c(temperature)
  • Convert fahrenheit to celsius
c_to_f(temperature)
  • Convert celsius to fahrenheit

Change Log

0.0.1 (4/28/2021)

  • First Release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

basicmathfunctions-0.0.58.tar.gz (3.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page