Difference between revisions of "Template talk:User performance report"

From Team Fortress Wiki
Jump to: navigation, search
(Minutes issue)
 
(Hours Template: new section)
 
Line 2: Line 2:
  
 
Can someone refine the calculations so that it doesn't break down when you have 9 or less minutes left after performing a modulus on the hour? Right now, it just appends single-digit minutes without a zero, so, for example, 60 hours and 2 minutes reads 60:2 instead of 60:02. It can be fudged by just fiddling with the numbers so that the modulus is 10 or greater, but that just treats the symptom. --{{User:LordKelvin/Signature}} 03:32, 11 April 2011 (UTC)
 
Can someone refine the calculations so that it doesn't break down when you have 9 or less minutes left after performing a modulus on the hour? Right now, it just appends single-digit minutes without a zero, so, for example, 60 hours and 2 minutes reads 60:2 instead of 60:02. It can be fudged by just fiddling with the numbers so that the modulus is 10 or greater, but that just treats the symptom. --{{User:LordKelvin/Signature}} 03:32, 11 April 2011 (UTC)
 +
 +
== Hours Template ==
 +
 +
Anyone know how to get rid of points and just have hours? :) -- [[User:CoreDude98|CoreDude98]] ([[User talk:CoreDude98|talk]]) 23:50, 3 November 2014 (PST)

Latest revision as of 07:50, 4 November 2014

Minutes issue

Can someone refine the calculations so that it doesn't break down when you have 9 or less minutes left after performing a modulus on the hour? Right now, it just appends single-digit minutes without a zero, so, for example, 60 hours and 2 minutes reads 60:2 instead of 60:02. It can be fudged by just fiddling with the numbers so that the modulus is 10 or greater, but that just treats the symptom. --User LordKelvin Signature.png LordKelvin 03:32, 11 April 2011 (UTC)

Hours Template

Anyone know how to get rid of points and just have hours? :) -- CoreDude98 (talk) 23:50, 3 November 2014 (PST)