Add settings page for managing forecasting API key and URL via UI
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
cae411eae7
commit
1c411e402e
19809 changed files with 1962608 additions and 97 deletions
19
frontend/node_modules/es-toolkit/dist/compat/math/round.js
generated
vendored
Normal file
19
frontend/node_modules/es-toolkit/dist/compat/math/round.js
generated
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
const require_decimalAdjust = require("../_internal/decimalAdjust.js");
|
||||
//#region src/compat/math/round.ts
|
||||
/**
|
||||
* Computes number rounded to precision.
|
||||
*
|
||||
* @param number The number to round.
|
||||
* @param precision The precision to round to.
|
||||
* @returns Returns the rounded number.
|
||||
*
|
||||
* @example
|
||||
* round(4.006); // => 4
|
||||
* round(4.006, 2); // => 4.01
|
||||
* round(4060, -2); // => 4100
|
||||
*/
|
||||
function round(number, precision = 0) {
|
||||
return require_decimalAdjust.decimalAdjust("round", number, precision);
|
||||
}
|
||||
//#endregion
|
||||
exports.round = round;
|
||||
Loading…
Add table
Add a link
Reference in a new issue