Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
qhy040404 committed May 21, 2024
1 parent 24d143e commit 4306af9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,23 +66,23 @@ public string MinOrangePullFormatted
/// </summary>
public string TotalOrangeFormatted
{
get => $"{TotalOrangePull} [{TotalOrangePercent,6:p2}]";
get => $"{TotalOrangePull} [{(TotalOrangePercent is double.NaN ? 0D : TotalOrangePercent),6:p2}]";
}

/// <summary>
/// 四星格式化字符串
/// </summary>
public string TotalPurpleFormatted
{
get => $"{TotalPurplePull} [{TotalPurplePercent,6:p2}]";
get => $"{TotalPurplePull} [{(TotalPurplePercent is double.NaN ? 0D : TotalPurplePercent),6:p2}]";
}

/// <summary>
/// 三星格式化字符串
/// </summary>
public string TotalBlueFormatted
{
get => $"{TotalBluePull} [{TotalBluePercent,6:p2}]";
get => $"{TotalBluePull} [{(TotalBluePercent is double.NaN ? 0D : TotalBluePercent),6:p2}]";
}

public ColorSegmentCollection PullPercentSegmentSource
Expand Down

0 comments on commit 4306af9

Please sign in to comment.