public override void WriteValue(double?value)
 {
     if (!value.HasValue)
     {
         this.WriteNull();
     }
     else
     {
         base.method_17(JsonToken.Float);
         this.method_21(JsonConvert.smethod_3(value.Value, base.FloatFormatHandling, this.QuoteChar, true), JsonToken.Float);
     }
 }
 public override void WriteValue(double value)
 {
     base.method_17(JsonToken.Float);
     this.method_21(JsonConvert.smethod_3(value, base.FloatFormatHandling, this.QuoteChar, false), JsonToken.Float);
 }