Java Money isMoney(String str)

Here you can find the source of isMoney(String str)

Description

is Money

License

Open Source License

Declaration

public static boolean isMoney(String str) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {

    public static boolean isMoney(String str) {

        for (int i = 0; i < str.length(); i++) {
            if (!Character.isDigit(str.charAt(i)))
                return false;
        }//from   w  ww .j  a va2  s. c om
        return true;
    }
}

Related

  1. doubleToMoney(double value)
  2. fMoney(float pfNum)
  3. GetMoneyAmount(int amount, int CheckAmount)
  4. isMoney(String money)
  5. isMoney(String money)
  6. isMoney(String[] Moneys, String key)
  7. moneyChange(String money)
  8. moneyFenToYuan(String amount)
  9. moneyMinus(float a, float b)