Modifier alignment
This commit is contained in:
@ -44,7 +44,7 @@ namespace Elwig.Models {
|
||||
|
||||
public string ValueStr =>
|
||||
(Abs != null) ? $"{(Abs.Value < 0 ? "\u00a0-" : "+")}{Math.Abs(Abs.Value)}\u00a0{Season.Currency.Symbol}/kg" :
|
||||
(Rel != null) ? $"{(Rel.Value < 0 ? "\u00a0-" : "+")}{(Math.Abs(Rel.Value) < 0.1 ? "\u2007" : "")}{Math.Abs(Rel.Value):0.00##\u00a0%}" : "";
|
||||
(Rel != null) ? $"{(Math.Abs(Rel.Value) < 0.1 ? "\u2007" : "")}{(Rel.Value < 0 ? "\u00a0-" : "+")}{Math.Abs(Rel.Value):0.00##\u00a0%}" : "";
|
||||
|
||||
public override string ToString() {
|
||||
return Name;
|
||||
|
Reference in New Issue
Block a user