Android Utililty Methods Money Parse

List of utility methods to do Money Parse

Description

The list of methods to do Money Parse are organized into topic(s).

Method

longparseMoney(String money)
Adopted from http://jgnash.svn.sourceforge.net/viewvc/jgnash/jgnash2/trunk/src/jgnash/imports/qif/QifUtils.java
if (money != null) {
    BigDecimal bdMoney;
    money = money.trim(); 
    try {
        bdMoney = new BigDecimal(money);
        return moneyAsLong(bdMoney);
    } catch (NumberFormatException e) {
        String[] split = MONEY_PREFIX_PATTERN.split(money);
...