aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/YEngine/MMRScriptTypeCast.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/YEngine/MMRScriptTypeCast.cs b/OpenSim/Region/ScriptEngine/YEngine/MMRScriptTypeCast.cs
index dd0e5e0..943e91a 100644
--- a/OpenSim/Region/ScriptEngine/YEngine/MMRScriptTypeCast.cs
+++ b/OpenSim/Region/ScriptEngine/YEngine/MMRScriptTypeCast.cs
@@ -31,6 +31,7 @@ using System;
31using System.Collections.Generic; 31using System.Collections.Generic;
32using System.Reflection; 32using System.Reflection;
33using System.Reflection.Emit; 33using System.Reflection.Emit;
34using System.Globalization;
34 35
35using LSL_Float = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLFloat; 36using LSL_Float = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLFloat;
36using LSL_Integer = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLInteger; 37using LSL_Integer = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLInteger;
@@ -810,7 +811,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine
810 } 811 }
811 public static string FloatToString(double x) 812 public static string FloatToString(double x)
812 { 813 {
813 return x.ToString("0.000000"); 814 return x.ToString("0.000000",CultureInfo.InvariantCulture);
814 } 815 }
815 public static string IntegerToString(int x) 816 public static string IntegerToString(int x)
816 { 817 {