Skip to content

Commit

Permalink
Add space to PrintSI
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanKell authored Oct 25, 2023
1 parent bcc36bc commit 62d9a65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/ResourceUnitInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ public static string PrintSI(double amount, string unitName, int sigFigs = 3, bo
amount = Math.Round(amount / mult) * mult;
decimals = 0;
}
return Localizer.Format("<<1>><<2>><<3>>", amount.ToString(decimals == 0 ? "F0" : "0." + new string('#', decimals)), prefixString, unitName);
return Localizer.Format("<<1>> <<2>><<3>>", amount.ToString(decimals == 0 ? "F0" : "0." + new string('#', decimals)), prefixString, unitName);
}
}
}

0 comments on commit 62d9a65

Please sign in to comment.