currency forward

Is it true that a currency forward is spot* (1+r^n)/(1+r^n)…

OR is it spot*(1+rate*n)/1+rate*n??

thanks!

both…and n is not just n than m/n where n is 365 in upper and 360 in lower formula.