If I input a numerical value, then have it multiplied by 2 to display the result. For example, if I enter 1000, the output would be 2000. How can I make a div visible only when the result is less than 122?
<input type="number" [(ngModel)]="valueInitial">
<div *ngIf="(valueInitial * 2) < 122">Result: {{ valueInitial * 2 }}</div>