LiquidTechnologies.XmlObjects Namespace / LxWriterSettings Class / DoubleFormatOverride Property

In This Topic
    DoubleFormatOverride Property
    In This Topic
    Allows the formatting of xs:double to be overridden. When formatting is required on specific fields see Customizing the generated code with Override Values
    Syntax
    'Declaration
     
    
    Public Property DoubleFormatOverride As System.String
    public System.string DoubleFormatOverride {get; set;}
    Remarks
    By Default a double value is formatted as follows double value = ... string strValue = value.ToString(CultureInfo.InvariantCulture); This property allows a format string to be provided double value = ... string strValue = value.ToString(null, DoubleFormatOverride, CultureInfo.InvariantCulture);
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows Server 2016, Windows Server 2012, Windows Server 2008. Please ensure you have the latest Service Pack for your operating system installed.

    See Also