nl_tokens: Attempts to parse a given value as a floating point number . @param { * } value The given value to try to parse . @param { number } defaultValue The fallback value to return in case value cannot by parsed as float .
pl_tokens: function proposeFloat ( value , defaultValue ) { const proposed = parseFloat ( <mask> ) ; if ( typeof proposed === 'number' && isFinite ( proposed ) ) { return proposed ; } return defaultValue ; }