An assignment could not be completed; use a suffix to correct the instruction. The documentation for each type identifies the corresponding suffix for the type.
private void conversion_example()
{
int ivar = 1000;
decimal dvar = 0.15;
decimal ret_val;
ret_val = ivar * dvar;
}
Solution
private void conversion_example()
{
int ivar = 1000;
decimal dvar = 0.15M;
decimal ret_val;
ret_val = ivar * dvar;
}