如果我输入5,我想显示5%,但它渲染为500%。我该如何显示?
<kendo-numerictextbox [decimals]="2" [format]="'p'" [(ngModel)]="Percentage"></kendo-numerictextbox>
答案 0 :(得分:2)
<kendo-numerictextbox [decimals]="2" [format]="'# \\%'" [(ngModel)]="Percentage"></kendo-numerictextbox>