/**
*
*
*
Copyright 1994 JsonInternational
*
All rights reserved.
*
Created on 19941115
*
Created by Jason
*
*
*/
package cn.ucaner.alpaca.framework.utils.chinese;
import java.text.DecimalFormat;
import java.util.HashMap;
import java.util.Map;
import cn.ucaner.alpaca.framework.utils.string.StringHelper;
/**
* @Package:cn.ucaner.framework.utils
* @ClassName:ChineseNumber
* @Description:
阿拉伯数字转换为中文大写数字.
* @Author: - Jason
* @CreatTime:2017年8月30日 下午2:15:16
* @Modify By:
* @ModifyTime:
* @Modify marker:
* @version V1.0
*/
public class ChineseNumber {
private static final String[] BEFORE_SCALE = { "万", "仟", "佰", "拾", "亿", "仟", "佰", "拾", "万", "仟", "佰", "拾", "" };
private static final String[] AFTER_SCALE = { "角", "分" };
private static final String DEFAULT_PATH_SEPARATOR = ".";
private static final Map NUMBER_MAPPING = new HashMap();
static {
NUMBER_MAPPING.put("0", "零");
NUMBER_MAPPING.put("1", "壹");
NUMBER_MAPPING.put("2", &