TableRow_GenerateInsert: Support for "float" and "double"
This commit is contained in:
@@ -76,6 +76,16 @@ namespace VAR.DatabaseExplorer.Code
|
||||
// Decimales
|
||||
sbValues.Append(((decimal)valor).ToString(nfi));
|
||||
}
|
||||
else if (type == "float")
|
||||
{
|
||||
// Float
|
||||
sbValues.Append(((float)valor).ToString(nfi));
|
||||
}
|
||||
else if (type == "double")
|
||||
{
|
||||
// Double
|
||||
sbValues.Append(((double)valor).ToString(nfi));
|
||||
}
|
||||
else if (type == "bit" || type == "bool" || type == "boolean")
|
||||
{
|
||||
// Booleanos
|
||||
|
||||
Reference in New Issue
Block a user