Invariant Culture is a nice thing
This commit is contained in:
@@ -14,6 +14,7 @@ using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Specialized;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
|
||||
@@ -847,7 +848,7 @@ namespace LitJson
|
||||
return inst_boolean.ToString ();
|
||||
|
||||
case JsonType.Double:
|
||||
return inst_double.ToString ();
|
||||
return inst_double.ToString (CultureInfo.InvariantCulture);
|
||||
|
||||
case JsonType.Int:
|
||||
return inst_int.ToString ();
|
||||
|
||||
Reference in New Issue
Block a user