Es gibt ein Feld:Wie kann der gesamte Feldwert ohne wissenschaftliche Notation angezeigt werden?
<div id="div_montant_src_financement" class="form-group col-sm-12">
<label class="col-sm-3 control-label">Prévu</label>
<form:input path="prevu" cssClass="form-control input_text numeric" placeholder="Budget prévu" />
</div>
css:
.form-control {
border-color: #729aea !important;
font-size: inherit !important;
border-radius: 8px !important;
}
.form-control:focus {
border-color: #0a0aaf !important;
}
.form-control:not(textarea):not([multiple]) {
height: 28px !important;
}
.input_text {
width: 66.66666667% !important;
}
jquery:
$('.numeric').on("keyup",function() {
if (this.value != this.value.replace(/[^0-9\.]/g, '')) {
this.value = this.value.replace(/[^0-9\.]/g, '');
}
});
$('.numeric').css("text-align","right");
Zur Laufzeit das Feld von Spaltendaten in der Datenbank gefüllt wird; es hat einen Wert 15000000 aber die gerenderte Daten Ich möchte nicht gern:
So wie ohne die wissenschaftliche Schreibweise alle den Wert zeigen?