Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Number format #8583


User avatar
0
sophoana created

Hi support,

I want to format number with input type number.

HTML code:

<div class="col-sm-6 col-md-3">
                            <div class="form-group">
                            <label for="ReceiptAmount">{{"ReceiptAmount" | localize}}</label>
                            <input
                                id="ReceiptAmount"
                                class="form-control"
                                type="number"
                                name="ReceiptAmount"
                                [(ngModel)]="customerReceipt.amount | number:''1.4-5''"
                                (ngModelChange)="onAmountChange()"
                                (blur)="onLeaveAmount()">
                            </div>
                        </div>

I want to show like this.


1 Answer(s)