Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /home/picotech/domains/inventory.picotech.app/public_html/node_modules/bootstrap-vue/src/utils/ drwxr-xr-x |
Viewing file: Select action/file-type: // Number utilities // Converts a value (string, number, etc.) to an integer number // Assumes radix base 10 export const toInteger = (value, defaultValue = NaN) => { const integer = parseInt(value, 10) return isNaN(integer) ? defaultValue : integer } // Converts a value (string, number, etc.) to a number export const toFloat = (value, defaultValue = NaN) => { const float = parseFloat(value) return isNaN(float) ? defaultValue : float } // Converts a value (string, number, etc.) to a string // representation with `precision` digits after the decimal // Returns the string 'NaN' if the value cannot be converted export const toFixed = (val, precision) => toFloat(val).toFixed(toInteger(precision, 0)) |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0032 ]-- |