Start a new topic

Decimal assignment with m suffix results in a compile error

Good afternoon Duocode developers,

I found a little problems in your compiler :)

Direct assignment of a decimal with the m suffix will results in a compile error.

Following code will not compile:

var amount = 0.1m;

This will (less beautifull)

var amount = (decimal)0.1;

Greets Peter

1 Comment

Thanks for the reporting, we reproduced this bug and already fixed it in the coming version 1.1 released this month.


Login or Signup to post a comment