//*********************测试通过***************************
package com.hez.platform.hez.housing.lendersToolBox.controller;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
*
* @author ldb
* @date 2020-10-09
*/
@Api(tags = "房贷计算器")
@RestController
@RequestMapping("/lendersToolBox")
public class LendersToolBoxController {
public static void main(String[] args) {
//temp[][0]为每月还款本金 temp[][1]为每月还款利息 temp[][2]为每月还款总额
double[][] detail = aaaaa();
System.out.println(detail[0][0]);
System.out.println(detail[0][1]);
System.out.println(detail[0][2]);
for(int i = 0;i<detail.length
房贷计算器(java)
最新推荐文章于 2023-10-24 18:02:24 发布
本文介绍如何使用Java编程语言设计并实现一个房贷计算器,涵盖了等额本息和等额本金两种常见还款方式的计算逻辑,帮助购房者理解贷款利息和月供的计算过程。
摘要由CSDN通过智能技术生成