Rohit Gautam

Rohit Gautam

  • 2.2k
  • 24
  • 2.2k

How can I convert number to string while using *ngFor in html code

Sep 2 2021 11:56 AM

I have data, which I have bind in html table,
Order ID is number type, I want to convert this into string before binding to table in Angular 10.

Example :

  <tr  *ngFor="let rec of requestList | paginate:{itemsPerPage: 10, currentPage:page} | filter:searchedKeyword">

                  <td>{{}}</td> //convert this into string



Answers (4)