Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 970 Bytes

README.md

File metadata and controls

39 lines (26 loc) · 970 Bytes

rent-price-converter

made-with-python Tweet

What is it

Ever looked for apartments to rent and had problems converting between PW (per week) and PCM (per calendar month) rent prices?

Maybe it's just me... Anyway, here's a Python script to help you with conversion.

Use responsibly.

Conversion Function

rent_pw * 52 / 12 = rent_pcm

# For example
150 pw * 52 / 12 = 650 pcm

Usage

> ./rent_price_converter.py 1300 pcm
300 pw
> ./rent_price_converter.py 150 pw
650 pcm