I have an angular 2 form that uses a PODO to store model values in.
It has a set of properties that accept integer values.
When i inspect that response that is posted to the web server, these values are coming back as floating point values.
Question: Why is my integer accepts floating point assignments?
<div class="form-group">
<label for="card_number">Credit Card Number</label>
<input type="number" id="card_number" [(ng-model)]="dto.ccn" class="form-control" [required]="true"/>
</div>
<div class="form-group">
<label for="card_expiration">Expiration</label>
<input type="text" id="card_expiration" [(ng-model)]="dto.ccExpiration" class="form-control" [required]="true"/>
</div>
<div class="form-group">
<label for="card_ccv">CCV</label>
<input type="number" id="card_ccv" [(ng-model)]="dto.ccv" class="form-control" [required]="true"/>
</div>
