You are here: Symbol Reference > Stimulsoft.Base.Json Namespace > FloatFormatHandling Enumeration
Stimulsoft Reports Class Reference
ContentsIndexHome
PreviousUpNext
Stimulsoft.Base.Json.FloatFormatHandling Enumeration

Specifies float format handling options when writing special floating point numbers, e.g. F:System.Double.NaN, F:System.Double.PositiveInfinity and F:System.Double.NegativeInfinity with JsonWriter.

Syntax
C++
C#
Visual Basic
public: enum FloatFormatHandling { String = 0, Symbol = 1, DefaultValue = 2 };
Members
Members 
Description 
String 
Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity".  
Symbol 
Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. Note that this will produce non-valid JSON.  
DefaultValue 
Write special floating point values as the property's default value in JSON, e.g. 0.0 for a System.Double property, null for a System.Nullable{Double} property.  
Made with Doc-O-Matic.
What do you think about this topic? Send feedback!
Copyright (c) 2017. All rights reserved.