data.js
// Set account.fmtbalance and account's txns'.fmtamt to currency amount format.
Set account.fmtbalance and account's txns'.fmtamt to currency amount format.
Set account . fmtbalance and account ' s txns ' . fmtamt to currency amount format .
function addFormattedAmts(account) {
    if (account.accounttype == 0) {
        addCurrencyFormattedAmts(account);
    } else {
        addUnitFormattedAmts(account);
    }
}
function addFormattedAmts ( account ) { if ( account . accounttype == 0 ) { addCurrencyFormattedAmts ( account ) ; } else { addUnitFormattedAmts ( account ) ; } }
Set account.fmtbalance and account's txns'.fmtamt to currency amount format.
Set account . fmtbalance and account ' s txns ' . fmtamt to currency amount format .