hi everyone, i'd like some assistance if possible:
say i have a string variable called declared that contains the string "$1.25":
static String number = "$1.25";
THE FOLLOWING DOES NOT WORK (obviously, since it can't parse the "$" character right?)
static int parsedNumber = (Integer.parseInt( number ));
anyone have a piece of advice? simple if statement? that sounds too easy
TIA
Tim
say i have a string variable called declared that contains the string "$1.25":
static String number = "$1.25";
THE FOLLOWING DOES NOT WORK (obviously, since it can't parse the "$" character right?)
static int parsedNumber = (Integer.parseInt( number ));
anyone have a piece of advice? simple if statement? that sounds too easy
TIA
Tim