LiquidTechnologies.XmlObjects Namespace / LxWriterSettings Class / FloatFormatOverride Property

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