mirror of
https://github.com/ppy/osu.git
synced 2026-05-31 00:20:41 +08:00
Replace :P2 with :0.00%
This commit is contained in:
@@ -32,7 +32,7 @@ namespace osu.Game.Scoring
|
||||
public double Accuracy { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public string DisplayAccuracy => Accuracy == 1 ? "100%" : $"{Accuracy:P2}";
|
||||
public string DisplayAccuracy => Accuracy == 1 ? "100%" : $"{Accuracy:0.00%}";
|
||||
|
||||
[JsonProperty(@"pp")]
|
||||
public double? PP { get; set; }
|
||||
|
||||
@@ -44,7 +44,7 @@ namespace osu.Game.Users
|
||||
public decimal Accuracy;
|
||||
|
||||
[JsonIgnore]
|
||||
public string DisplayAccuracy => $"{Accuracy:P2}";
|
||||
public string DisplayAccuracy => $"{Accuracy:0.00%}";
|
||||
|
||||
[JsonProperty(@"play_count")]
|
||||
public int PlayCount;
|
||||
|
||||
Reference in New Issue
Block a user