This commit is contained in:
akwkevin
2025-03-23 16:23:19 +08:00
parent 4c36933b76
commit c269be1bbf
13 changed files with 95 additions and 15 deletions

View File

@@ -67,6 +67,10 @@ namespace AIStudio.Wpf.DiagramDesigner.Converters
result = System.Convert.ToInt32(result);
else if (targetType == typeof(Int16))
result = System.Convert.ToInt16(result);
else if (targetType == typeof(double))
result = System.Convert.ToDouble(result);
else if (targetType == typeof(float))
result = System.Convert.ToSingle(result);
else if (targetType == typeof(char))
result = result.ToString().First();
}