在给定总量的情况下,如何将比率转换为数字?

How can I convert a ratio to number given total quantity?

处理 put/call ratio 是否有公式可以将数量为 978,551 的比率 0.46 转换为两部分?我知道这两个数字是 670,053308,498 但我似乎无法通过 Google.

找到任何答案

不知道在网络中post这个地方。

谢谢, 菲利普

let x = total quantity ( here 978,551)

let y = ratio ( here 0.46)

first quantity = (x*y)/(1+y)

second quantity = (x)/(1+y)

设第一个数量为a,第二个数量为b。我们知道总数说 x,比率说 y。通过数学,a+b=x 和 a/b=y。从第二个等式 a=by。放在第一个,b(1+y)=x, b=x/(1+y) and a=by, a=xy/(1+y)

最后,第一个数=总数/(1+比率) 第二个数=总数*比例/(1+比例)