福途教育网
专业的教育资讯网站

当前位置:福途教育网 > 会计师 > 正文

企业数量售价金额核算(数量售价金额法的优缺点)

时间:2023/10/8 18:02:29 编辑:福途教育 标签:会计师

2023年【会计师】申请条件/费用/专业咨询 >>

会计师申请条件是什么?会计师费用是多少?会计师专业都有哪些?

点击咨询

    本文解答了关于《企业数量售价金额核算》相关内容,同时关于1、数量售价金额核算法适用什么企业,2、数量售价金额核算法,3、数量售价金额核算法的主要内容,4、数量售价金额法的优缺点,5、售价金额核算法和数量售价金额核算法有何不同,的相关问答本篇文章福途教育网小编也整理了进来,希望对您有帮助。

    企业数量售价金额核算(数量售价金额法的优缺点)

    企业数量售价金额核算

    double price = 0;

    int enterpriseAmount = quantity * playerAmount;

    if (enterpriseAmount < 10) {

    price = 127;

    } else if (enterpriseAmount < 20) {

    price = ((enterpriseAmount - 10) * 21) + 127;

    } else if (enterpriseAmount < 50) {

    price = ((enterpriseAmount - 20) * 18) + 246;

    } else if (enterpriseAmount < 100) {

    price = ((enterpriseAmount - 50) * 15) + 414;

    } else if (enterpriseAmount < 200) {

    price = ((enterpriseAmount - 100) * 13) + 529;

    } else if (enterpriseAmount < 500) {

    price = ((enterpriseAmount - 200) * 10) + 709;

    } else if (enterpriseAmount < 1000) {

    price = ((enterpriseAmount - 500) * 8) + 909;

    } else {

    price = ((enterpriseAmount - 1000) * 5) + 1509;

    }

    return price;

    }

    @RequestMapping("/shopping")

    public String shopping(Integer eNumber,Integer pNumber){

    // 用户所要购买的企业数量+使用人数

    double price = calPrice(eNumber,pNumber);

    model.addAttribute("price",price);

    model.addAttribute("eNumber",eNumber);

    model.addAttribute("pNumber",pNumber);

    return "mail";

    }

    @RequestMapping("/pay")

    public String pay(){

    return null;

    }

    }

    总结:以上是编辑:【訾沛雯】整理及AI智能原创关于《

    企业数量售价金额核算

    》优质内容解答希望能帮助到您。

以上手机版 企业数量售价金额核算(数量售价金额法的优缺点) 小编为您整理企业数量售价金额核算(数量售价金额法的优缺点)的全部内容

点击查看 会计师 更多内容

热门推荐

最新文章