question: public static double parseNumberPercent ( FXGNode node , String value , String name , double min , double max , double defaultValue ) { if ( value . length ( ) != 0 && value . charAt ( value . length ( ) - 1 ) == '%' ) { String doubleValue = value . substring ( 0 , value . length ( ) - 1 ) ; try { return parseDouble ( node , doubleValue , name , min , max , defaultValue ) ; } catch ( FXGException e ) { throw new FXGException ( node . getStartLine ( ) , node . getStartColumn ( ) , "InvalidPercentValue" , name , value ) ; } } else { return parseDouble ( node , value , name , min , max , defaultValue ) ; } }
target:  Convert an FXG String value to a double after taking care of the % sign. If the value is double, it is checked against the specified range  (inclusive).