changeset 42:7e74c7954be9

* Make double parsing from XML use double.parse instead of int.parse no-open-ticket (fixes warfoundry:#185)
author IBBoard <dev@ibboard.co.uk>
date Tue, 29 Sep 2009 19:19:44 +0000
parents d5dcd1c09c28
children 2baf3f949cfb
files Xml/XmlTools.cs
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Xml/XmlTools.cs	Sat Sep 26 09:57:38 2009 +0000
+++ b/Xml/XmlTools.cs	Tue Sep 29 19:19:44 2009 +0000
@@ -90,7 +90,7 @@
 			{
 				try
 				{
-					return int.Parse(attribValue);
+					return double.Parse(attribValue);
 				}
 				catch(FormatException)
 				{