Skip to main content

dms to decimal

Project description

dms-to-decimal A Python library for converting degrees, minutes, and seconds to decimal

Installation

pip install dms-to-decimal

Example

import dms_to_decimal as dms

degree = 46 minutes = 59 seconds = 5 direction = ‘N’

converDms2Decimal = dms.DMS2Decimal(degree, minutes, seconds, direction)

print(converDms2Decimal); # Output: 46.984722222222224

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

dms-to-decimal-0.0.2.tar.gz (1.5 kB view hashes)

Uploaded Source

Built Distribution

dms_to_decimal-0.0.2-py3-none-any.whl (1.4 kB view hashes)

Uploaded Python 3

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