mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-08 18:26:35 +08:00
xx
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user