单项选择题

若本金为P,年利率为r,每年的计息次数为m次,则n年末该投资的期值计算公式为( )。

A.FVn=P(1+r)n
B.FVn=P(1+r/n)mn
C.FVn=P(1+r/m)mn
D.FVn=P(1+r/m)n