# plugin-report/2.2.1/js/tablesort.number.min.js

Plugin Report, version 2.2.1. 6 lines.

- Page: https://pluginprobe.com/plugins/plugin-report/2.2.1/code/js/tablesort.number.min.js
- Raw: https://pluginprobe.com/plugins/plugin-report/2.2.1/raw/js/tablesort.number.min.js
- Modified: 2025-04-25T13:03:54+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/plugin-report/2.2.1/code/js/tablesort.number.min.js#L10-L20`.

```javascript
/*!
 * tablesort v5.6.0 (2025-04-20)
 * http://tristen.ca/tablesort/demo/
 * Copyright (c) 2025 ; Licensed MIT
*/
(()=>{function a(t){return t.replace(/[^\-?0-9.]/g,"")}Tablesort.extend("number",function(t){return t.match(/^[-+]?[£\x24Û¢´€]?\d+\s*([,\.]\d{0,2})/)||t.match(/^[-+]?\d+\s*([,\.]\d{0,2})?[£\x24Û¢´€]/)||t.match(/^[-+]?(\d)*-?([,\.]){0,1}-?(\d)+([E,e][\-+][\d]+)?%?$/)},function(t,e){return t=a(t),e=a(e),e=e,t=t,e=parseFloat(e),t=parseFloat(t),(e=isNaN(e)?0:e)-(t=isNaN(t)?0:t)})})();
```
