Translations:Amarok/Manual/Various/FAQ/73/pl

From KDE Wiki Sandbox
Revision as of 21:38, 26 November 2011 by Kustosz (talk | contribs) (Created page with "if( playcount <= 0 ) # not supposed to be less, but what the hell. newscore = ( prevscore + percentage ) / 2 else newscore = ( ( prevscore * playcount ) + percen...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

if( playcount <= 0 ) # not supposed to be less, but what the hell.

      newscore = ( prevscore + percentage ) / 2
  else
      newscore = ( ( prevscore * playcount ) + percentage ) / ( playcount + 1 )
  end