Skip to content

Commit

Permalink
runda upp
Browse files Browse the repository at this point in the history
fix #6
  • Loading branch information
JohanLarsson committed Mar 3, 2024
1 parent 69c24d8 commit b63ab39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IbkrToSru/Records.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{
public int ToSek(double amount) => (int)Math.Round(amount * this.Rate);

public string ToSekText(double amount) => Math.Round(amount * this.Rate).ToString(CultureInfo.InvariantCulture);
public string ToSekText(double amount) => Math.Ceiling(amount * this.Rate).ToString(CultureInfo.InvariantCulture);
}

public readonly record struct Execution(
Expand Down

0 comments on commit b63ab39

Please sign in to comment.