Browse Source

Improve numeric comparison of strings

pull/4330/head
Thomas Kaul 2 months ago
parent
commit
fd5b978720
  1. 4
      libs/ui/src/lib/value/value.component.html

4
libs/ui/src/lib/value/value.component.html

@ -10,8 +10,8 @@
>
<ng-container *ngIf="isNumber || value === null">
<ng-container *ngIf="colorizeSign && !useAbsoluteValue">
<div *ngIf="value > 0" class="mr-1 text-success">+</div>
<div *ngIf="value < 0" class="mr-1 text-danger">-</div>
<div *ngIf="+value > 0" class="mr-1 text-success">+</div>
<div *ngIf="+value < 0" class="mr-1 text-danger">-</div>
</ng-container>
<div
*ngIf="isPercent"

Loading…
Cancel
Save