Java in the implementation of digital amounts to the conversion of Chinese uppercase characters!!

Source: Internet
Author: User

Recently used to convert the value of capital renminbi function, found on the Internet only C + + version of the difficulty to find a Java version of the charges!! No way to get a out of their own, presumably with the function of the person must be less, take out to share with you!!
/**
* <p>Title:money</p>
* <p>description:
* This class is a class that converts Arabic numerals into uppercase letters in Chinese. According to Brother Wang Daqing's C + + program to do a little modification, followed by Brother Wang Daqing C + +
* * procedure, if you have any questions about the attached C + + program please contact Wang Daqing Brother email:wang_daqing@21cn.com
* If you have any comments and suggestions for the Java section, please contact the younger brother, Yang Xuan email:netfalcon@263.net
* * Class Name: Money
* * Function: String positiveintegertohanstr (String numstr) is responsible for converting the number before the decimal point to uppercase Chinese
* * Function:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.