Skip to content
/ hertz Public

A simple, standard, and handy way to represent hertz, kilohertz, megahertz, etc

License

Notifications You must be signed in to change notification settings

Yook74/hertz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pip install hertz

from hertz import *

foo = kHz(4)
foo  = 1.2
print(foo) # prints 1.204 because if units aren't specified everything is done in MHz
print(foo.in_hz) # prints 1204000.0
foo  = GHz('3')
print(foo.in_ghz) # prints 3.001204

About

A simple, standard, and handy way to represent hertz, kilohertz, megahertz, etc

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages