function convertValue(type, value) {
	if (value === '') {
		return undefined;
	}
	if (type === 'number') {
		return parseFloat(value);
	}
	return value;
}
/**
 * Convert a string value to the wanted type
 * @param type The string type
 * @param value The value to convert
 */
Convert a string value to the wanted type
@param type The string type
@param value The value to convert
Convert a string value to the wanted type @param type The string type @param value The value to convert
function convertValue(type, value) {
	if (value === '') {
		return undefined;
	}
	if (type === 'number') {
		return parseFloat(value);
	}
	return value;
}
function convertValue ( type , value ) { if ( value === '' ) { return undefined ; } if ( type === 'number' ) { return parseFloat ( value ) ; } return value ; }
Convert a string value to the wanted type
 @param type The string type
 @param value The value to convert
Convert a string value to the wanted type @param type The string type @param value The value to convert