public static boolean isValidDouble ( String number ) { boolean valid = false ; if ( isDouble ( number ) && isPositive ( Double . parseDouble ( number ) ) ) { valid = true ; } return valid ; }
Checks if a string is a valid double .