gbrainy r488 - in trunk/src: . CalculationGames



Author: jmas
Date: Mon Dec 29 23:26:45 2008
New Revision: 488
URL: http://svn.gnome.org/viewvc/gbrainy?rev=488&view=rev

Log:
2008-12-30 Jordi Mas <jmas softcatala org>
	
	* CalculationGames/CalculationWhichNumber.cs: Numbers should have at 
	 least one digit.



Modified:
   trunk/src/CalculationGames/CalculationWhichNumber.cs
   trunk/src/ChangeLog

Modified: trunk/src/CalculationGames/CalculationWhichNumber.cs
==============================================================================
--- trunk/src/CalculationGames/CalculationWhichNumber.cs	(original)
+++ trunk/src/CalculationGames/CalculationWhichNumber.cs	Mon Dec 29 23:26:45 2008
@@ -39,7 +39,7 @@
 
 	public override string Question {
 		get {return String.Format (
-			Catalog.GetString ("Which of the following numbers is closer to {0:###.###}? Answer {1}, {2}, {3} or {4}."), question_num,
+			Catalog.GetString ("Which of the following numbers is closer to {0:##0.###}? Answer {1}, {2}, {3} or {4}."), question_num,
 			GetPossibleAnswer (0), GetPossibleAnswer (1), GetPossibleAnswer (2), GetPossibleAnswer (3));}
 	}
 
@@ -48,7 +48,7 @@
 			string answer = base.Answer + " ";
 			int ans_idx = random_indices[which];
 
-			answer += String.Format (Catalog.GetString ("The result of the operation {0} / {1} is {2:###.###}"), 
+			answer += String.Format (Catalog.GetString ("The result of the operation {0} / {1} is {2:##0.###}"), 
 				options[ans_idx * 2], options[(ans_idx * 2) + 1], question_num);
 			return answer;
 		}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]