skip to navigation
skip to content

overpunch 1.1

Overpunch Parser/Formatter

Extract and generate overpunch (https://en.wikipedia.org/wiki/Signed_overpunch) formatted numbers.

Examples:

>>> import overpunch
>>> overpunch.format(123.45)
'1234E'
>>> overpunch.extract("1234E")
Decimal('123.45')

Requirements:

  • Python 2.7+ or Python 3

Tests:

Without coverage:

$ nosetests

With coverage:

$ nosetests --with-coverage --cover-package=overpunch
 
File Type Py Version Uploaded on Size
overpunch-1.1.tar.gz (md5) Source 2017-04-24 2KB