Game Accuracy counter

Hi!

I’m making a game, where i gun down a movieclip, i am counting the shots fired and the hits, now i want to show the accuracy in per cent. how do i do that this is what i have right now:
i have three variables
shots, hitCount and accu

function accuracy():Void
{
accu = Math.floor(Math.random() (shots % 100) * (hitCount));
acc.text = accu;
}

acc is a label.

And also, how do i make my aim to show over my target and not behind?