>>> from percentatge import percentatge >>> round(percentatge(100, 67), 1) 67.0 >>> round(percentatge(100, 27), 1) 27.0 >>> round(percentatge(180, 27), 1) 15.0 >>> round(percentatge(200, 27), 1) 13.5