Yengine make float.tostring culture invariant

0.9.1.0-post-fixes
UbitUmarov 2019-10-17 19:40:54 +01:00
parent 5971021b5d
commit 6b930a596b
1 changed files with 2 additions and 1 deletions

View File

@ -31,6 +31,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Reflection; using System.Reflection;
using System.Reflection.Emit; using System.Reflection.Emit;
using System.Globalization;
using LSL_Float = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLFloat; using LSL_Float = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLFloat;
using LSL_Integer = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLInteger; using LSL_Integer = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLInteger;
@ -810,7 +811,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine
} }
public static string FloatToString(double x) public static string FloatToString(double x)
{ {
return x.ToString("0.000000"); return x.ToString("0.000000",CultureInfo.InvariantCulture);
} }
public static string IntegerToString(int x) public static string IntegerToString(int x)
{ {