angular5kendonumerictextbox

Angular 4 kendo numerictextbox Percentage issue


If I enter 5 I want to display 5% but it is rendering as 500%. How can I display?

<kendo-numerictextbox [decimals]="2" [format]="'p'" [(ngModel)]="Percentage"></kendo-numerictextbox>

Solution

  • <kendo-numerictextbox [decimals]="2" [format]="'# \\%'" [(ngModel)]="Percentage"></kendo-numerictextbox>