aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
authorlbsa712009-04-09 07:11:49 +0000
committerlbsa712009-04-09 07:11:49 +0000
commited33878a0fb549acc52f0d31bb9de02e82cb2b0d (patch)
treeab3552d0621cf902b88372fe444aa10c22b8bd66 /OpenSim/Region/ScriptEngine/Shared
parent* Added custom DatabaseTestAttribute to help separating unit tests from compo... (diff)
downloadopensim-SC_OLD-ed33878a0fb549acc52f0d31bb9de02e82cb2b0d.zip
opensim-SC_OLD-ed33878a0fb549acc52f0d31bb9de02e82cb2b0d.tar.gz
opensim-SC_OLD-ed33878a0fb549acc52f0d31bb9de02e82cb2b0d.tar.bz2
opensim-SC_OLD-ed33878a0fb549acc52f0d31bb9de02e82cb2b0d.tar.xz
* tagged some more database tests as such
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
index 93a6300..f51e639 100644
--- a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
@@ -28,6 +28,7 @@
28using System; 28using System;
29using System.Collections; 29using System.Collections;
30using System.Text.RegularExpressions; 30using System.Text.RegularExpressions;
31using OpenSim.Framework;
31 32
32namespace OpenSim.Region.ScriptEngine.Shared 33namespace OpenSim.Region.ScriptEngine.Shared
33{ 34{
@@ -1787,7 +1788,7 @@ namespace OpenSim.Region.ScriptEngine.Shared
1787 else 1788 else
1788 if (v.EndsWith(".")) 1789 if (v.EndsWith("."))
1789 v = v + "0"; 1790 v = v + "0";
1790 this.value = double.Parse(v, System.Globalization.NumberStyles.Float); 1791 this.value = double.Parse(v, System.Globalization.NumberStyles.Float, Culture.FormatProvider);
1791 } 1792 }
1792 1793
1793 #endregion 1794 #endregion