Added pip value precision constant.
Bug fix: changed return type to int.
Implementation of get pip value needs adjustments in rounding.