[fixes] floating point issue in buying rate