Skip to main content

A simple package calculating values for a single number

Project description

numberdata Documentation


Installation

numberdata lets you perform basic operations on numbers

pip install numberdata

Usage

import numberdata

Calculate SquareRoot of a number

output = numberdata.calculateSquareRoot(64)
print(output)
# 8 

Calculate Square of a number

output = numberdata.calculateSquare(7)
print(output)
# 49

Calculate Cube of a number

output = numberdata.calculateCube(3)
print(output)
# 27

Calculate Power of a number

output = numberdata.calculatePower(2,4))
print(output)
# 16

Power can also be calculated of non-integer numbers.

# Calculate Power of a number
print(numberdata.calculatePower(125,1/3))
# 5

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
numberdata-1.0.2-py3.7.egg (2.7 kB) Copy SHA256 hash SHA256 Egg 3.7

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page