--- from: http://rosettacode.org/wiki/Price_fraction note: Financial operations