Skip to content

Commit a80a0c9

Browse files
Merge pull request #438 from BakharevAlexander/parcing_double_fix
fix: issue #406
2 parents 8173d4f + 19ca24c commit a80a0c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

QueryBuilder/SqlResult.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using System;
22
using System.Collections;
33
using System.Collections.Generic;
4+
using System.Globalization;
45
using System.Linq;
56

67
namespace SqlKata
@@ -56,7 +57,7 @@ private string ChangeToSqlValue(object value)
5657

5758
if (NumberTypes.Contains(value.GetType()))
5859
{
59-
return value.ToString();
60+
return Convert.ToString(value, CultureInfo.InvariantCulture);
6061
}
6162

6263
if (value is DateTime date)

0 commit comments

Comments
 (0)