1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-13 05:48:35 +00:00

Merge branch 'development'

This commit is contained in:
Robert 2023-03-03 12:52:17 +01:00
commit b673680368

View File

@ -1,4 +1,4 @@
using Artemis.Core;
using Artemis.Core;
namespace Artemis.VisualScripting.Nodes.Conversion;
@ -33,6 +33,7 @@ public class ConvertToNumericNode : Node
double input => new Numeric(input),
float input => new Numeric(input),
byte input => new Numeric(input),
bool input => new Numeric(input ? 1 : 0),
_ => TryParse(Input.Value)
};
}
@ -44,4 +45,4 @@ public class ConvertToNumericNode : Node
}
#endregion
}
}