XmlWriter.WriteValue Method (Decimal)
Writes a Decimal value.
Assembly: System.Xml (in System.Xml.dll)
This method takes the common language runtime object and converts the input value to the desired output type using the XML Schema definition language (XSD) data type conversion rules.
If WriteValue is called multiple times in succession, the values are not delimited by a space. You must call WriteWhitespace between calls to WriteValue to insert white space. Pass an array type to the XmlWriter.WriteValue(Object) overload to write out an array of distinct values.
If this method is called on an XmlWriter instance that outputs text-only, the typed value is serialized to text.
For more information, see Writing Typed Data.
For the asynchronous version of this method, see WriteValueAsync.