nl_tokens: Public : Parses a string containing a percent . s - The string to parse . Returns a number or null if parsing fails .
pl_tokens: function parsePercent ( s ) { var n = parseNumber ( String ( s ) . <mask> ( '%' , '' ) ) ; return n == null ? null : n / 100 ; }