public override string GetPostfix()
{
return "千";
}
public override int Multiplier()
{
return 1000;
}
}
public class WanExpression : Expression
{
public override string GetPostfix()
{
return "万";
}
public override int Multiplier()
{
return 10000;
}
public override void Interpret(Context context)
{
延伸阅读
文章来源于领测软件测试网 https://www.ltesting.net/