Print(double_variable) works. Print(decimal_variable) fails to compile, saying Print() has invalid arguments [cannot convert decimal to bool].
I know Print(decimal_variable.ToString()) will work, but it is a workaround, not what one would expect.
This seems inconsistent. If this is a bug, please fix. If it is not a bug, why the difference?
Thanks.
Comment