We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
[Test] [Arguments(2_000, 123_999.00000000000000001)] [Arguments(2_000.00000000000000001, 123_999)] [Arguments(2_000.00000000000000001, 123_999.00000000000000001)] public async Task Transfer(decimal debit, decimal credit) { Console.WriteLine("{0} {1}", debit, credit); }
prints
2000 123999 2000 123999 2000 123999
which is incorrect :-)
And I can confirm the value in the debugger.
I tried casting to decimal and using the M suffix literal, but it does not compile.
M
prints
which is incorrect :-)
And I can confirm the value in the debugger.
I tried casting to decimal and using the
Msuffix literal, but it does not compile.