I have a select
component and would like to convert the value
to the Number
format because when I save it I need a value 2
and not "2"
The ideal would be to convert all tag
<option>
<div class="form-group col-md-3">
<label class="lb">Tipo docto liquidação:</label>
<select ng-model="notaLiquidacao.idTipoDoctoLiquidacao" class="form-control" >
<option value=2>Nota Fiscal de Produtor</option>
<option value=3>Nota Fiscal</option>
<option value=4>Contranota de Venda</option>
<option value=6>DANFE</option>
</select>
</div>