For Internal, you have to format like below for math numeric
public void setMnQBEOrderNumber_DOCO(Integer iQBEOrderNumber_DOCO)
{
if (iQBEOrderNumber_DOCO != null)
{
this.mnQBEOrderNumber_DOCO = new MathNumeric(iQBEOrderNumber_DOCO);
}
}

For Publish, format would be like below for math numeric

public void setMnJobNumber_Out(MathNumeric mnJobNumber_Out)
{
if (mnJobNumber_Out != null)
this.mnJobNumber_Out = new Integer(mnJobNumber_Out.intValue());
}

For Amount, cost or line number it would be bid decimal.