title: Format of Double numbers serialized by Spring
body: <p>I'm using Spring Boot and spring-web and have the following dto:</p>
  <pre><code>public class InstructionDto {
  
  
      private Long id;
      private String scanningStatus;
      private LocalDate dateSubmitted;
      private InstructionTypeDto type;
      private InstructionStatus status;
      @DecimalMax(value = &quot;1000000000.0&quot;, message = &quot;Amount must be less than 1000000000&quot;)
      private Double amount;
      private String description;
      private Currency currency;
      private LocalDate actionByDate;
      private LocalDate dateResolved;
      private LocalDate cancellationDate;
  }
  </code></pre>
  <p>With <code>amount</code> field of <code>Double</code> type.</p>
  <p>Whenever I try to get Instruction resource with <code>amount</code> &gt; 10000000 I get something like:</p>
  <pre><code>{
    &quot;id&quot;: 31,
    &quot;scanningStatus&quot;: &quot;&quot;,
    &quot;dateSubmitted&quot;: &quot;2020-08-17&quot;,
    &quot;type&quot;: {
      &quot;id&quot;: 1,
      &quot;name&quot;: &quot;New Type&quot;
    },
    &quot;status&quot;: &quot;SENT&quot;,
    &quot;amount&quot;: 1.0E8,
    &quot;description&quot;: &quot;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean at tortor sit amet est finibus tempus. Vivamus dictum, quam in egestas mollis, nibh libero bibendum lorem, non malesuada enim risus ac risus. Fusce sed mi quis risus semper orci aliquam&quot;,
    &quot;currency&quot;: &quot;USD&quot;,
    &quot;actionByDate&quot;: &quot;2020-08-31&quot;,
    &quot;dateResolved&quot;: null,
    &quot;cancellationDate&quot;: null,
  }
  </code></pre>
  <p>So <code>amount</code> = <code>1.0E8</code>, however, I would prefer <code>amount</code>=<code>10000000</code>.</p>
  <p>Is it possible to get it serialized in a proper format somehow?</p>
  <p>Thanks</p>