Class FloatNode
A Valued Node representing float values.
Implements
System.IEquatable<T><BaseLiteralNode>
System.IComparable<T><BaseLiteralNode>
System.IEquatable<T><LiteralNode>
System.IComparable<T><LiteralNode>
System.IComparable<T><INode>
System.IComparable<T><IBlankNode>
System.IComparable<T><IGraphLiteralNode>
System.IComparable<T><ILiteralNode>
System.IComparable<T><IUriNode>
System.IComparable<T><IVariableNode>
System.IComparable<T><IRefNode>
System.IComparable<T><ITripleNode>
System.IEquatable<T><INode>
System.IEquatable<T><IBlankNode>
System.IEquatable<T><IGraphLiteralNode>
System.IEquatable<T><ILiteralNode>
System.IEquatable<T><IUriNode>
System.IEquatable<T><IVariableNode>
System.IEquatable<T><IRefNode>
System.IEquatable<T><ITripleNode>
Inherited Members
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Nodes
Assembly: dotNetRdf.dll
Syntax
public class FloatNode : NumericNode, ILiteralNode, IEquatable<BaseLiteralNode>, IComparable<BaseLiteralNode>, IEquatable<LiteralNode>, IComparable<LiteralNode>, IValuedNode, INode, IComparable<INode>, IComparable<IBlankNode>, IComparable<IGraphLiteralNode>, IComparable<ILiteralNode>, IComparable<IUriNode>, IComparable<IVariableNode>, IComparable<IRefNode>, IComparable<ITripleNode>, IEquatable<INode>, IEquatable<IBlankNode>, IEquatable<IGraphLiteralNode>, IEquatable<ILiteralNode>, IEquatable<IUriNode>, IEquatable<IVariableNode>, IEquatable<IRefNode>, IEquatable<ITripleNode>
Constructors
| Improve this Doc View SourceFloatNode(float, string)
Creates a new Float valued node.
Declaration
public FloatNode(float value, string lexicalValue)
Parameters
Type | Name | Description |
---|---|---|
float | value | Float value. |
string | lexicalValue | Lexical value. |
FloatNode(float)
Creates a new Float valued node.
Declaration
public FloatNode(float value)
Parameters
Type | Name | Description |
---|---|---|
float | value | Float value. |
Methods
| Improve this Doc View SourceAsDecimal()
Gets the decimal value of the float.
Declaration
public override decimal AsDecimal()
Returns
Type | Description |
---|---|
decimal |
Overrides
| Improve this Doc View SourceAsDouble()
Gets the double value of the float.
Declaration
public override double AsDouble()
Returns
Type | Description |
---|---|
double |
Overrides
| Improve this Doc View SourceAsFloat()
Gets the float value.
Declaration
public override float AsFloat()
Returns
Type | Description |
---|---|
float |
Overrides
| Improve this Doc View SourceAsInteger()
Gets the integer value of the float.
Declaration
public override long AsInteger()
Returns
Type | Description |
---|---|
long |
Overrides
Implements
System.IEquatable<T>
System.IComparable<T>
System.IEquatable<T>
System.IComparable<T>
System.IComparable<T>
System.IComparable<T>
System.IComparable<T>
System.IComparable<T>
System.IComparable<T>
System.IComparable<T>
System.IComparable<T>
System.IComparable<T>
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>