diff --git a/Src/Asp.Net/SqlSugar/Abstract/SqlBuilderProvider/InsertBuilder.cs b/Src/Asp.Net/SqlSugar/Abstract/SqlBuilderProvider/InsertBuilder.cs index 29653e29c..514b8a78c 100644 --- a/Src/Asp.Net/SqlSugar/Abstract/SqlBuilderProvider/InsertBuilder.cs +++ b/Src/Asp.Net/SqlSugar/Abstract/SqlBuilderProvider/InsertBuilder.cs @@ -206,6 +206,10 @@ namespace SqlSugar { return "N'" + value.ToString().ToSqlFilter() + "'"; } + else if (type == UtilConstants.FloatType) + { + return "N'" +Convert.ToDouble(value).ToString() + "'"; + } else { return "N'" + value.ToString() + "'";