rice-framework/krad-web/src/main/webapp/krad/scripts/krad.utility.js
/**
 * Converts "complex" numeric values that may contain commas, currency symbols, or % so they can be totalled correctly;
 * this is a stop-gap until complete formatters are supported on the client
 *
 * @param value the numeric value to convert
 * @return {*} the value without symbols that do not allow for calculations to occur
 */
Converts "complex" numeric values that may contain commas, currency symbols, or % so they can be totalled correctly;
this is a stop-gap until complete formatters are supported on the client

@param value the numeric value to convert
@return {*} the value without symbols that do not allow for calculations to occur
Converts " complex " numeric values that may contain commas currency symbols or % so they can be totalled correctly ; this is a stop - gap until complete formatters are supported on the client @param value the numeric value to convert @return { * } the value without symbols that do not allow for calculations to occur
function convertComplexNumericValue(value) {
    if (!value) {
        return value;
    }
    return value.replace("$", "").replace(",", "").replace("&yen;", "").replace("&euro;",
        "").replace("&pound;", "").replace("&curren;", "").replace("%", "").replace("&#8355;",
        "").replace("&#8356;", "").replace("&#8359;", "").replace("&cent;", "");
}
function convertComplexNumericValue ( value ) { if ( ! value ) { return value ; } return value . replace ( "$" , "" ) . replace ( "," , "" ) . replace ( "&yen;" , "" ) . replace ( "&euro;" , "" ) . replace ( "&pound;" , "" ) . replace ( "&curren;" , "" ) . replace ( "%" , "" ) . replace ( "&#8355;" , "" ) . replace ( "&#8356;" , "" ) . replace ( "&#8359;" , "" ) . replace ( "&cent;" , "" ) ; }
Converts "complex" numeric values that may contain commas, currency symbols, or % so they can be totalled correctly;
 this is a stop-gap until complete formatters are supported on the client
Converts " complex " numeric values that may contain commas currency symbols or % so they can be totalled correctly ; this is a stop - gap until complete formatters are supported on the client
//TODO support this functionality with client formatters
