Double


Node Information
Double, a numeric value.
General Information
• This node doesn't have other available options.
Visual
Visual

Ports
Text Type DataType Accepts IsList CustomAcception
Value OUT Double MULTIPLE FALSE FALSE

Source
namespace Korduene.KGraph.Nodes.Variables
{
    [IsNode("Double")]
    public class VarDouble : Node
    {
        Port val = new Port(PortType.OUT, typeof(double), AcceptsLinks.MULTIPLE, "Value");
        public VarDouble()
        {
            NodeType = KGraph.NodeType.Variable;
            ReturnType = typeof(double);
            val.Value = "0";
            this.Name = "Double";
            this.AddPort(val);
            Information = "Double, a numeric value.";
        }
        public override string Code()
        {
            return val.Value;
        }
    }
}