mirror of
https://gitee.com/bimuziyan/ccc-obfuscated-code.git
synced 2026-05-09 04:25:53 +08:00
17 lines
557 B
TypeScript
17 lines
557 B
TypeScript
export interface IFloatingOptions {
|
|
min?: number;
|
|
max?: number;
|
|
fixed?: number;
|
|
}
|
|
/**
|
|
* Return a random floating point number
|
|
*
|
|
* @param {Number} min the minimum value
|
|
* @param {Number} max the maximum value
|
|
* @param {Number} fixed the number of decimal points
|
|
* @returns {Number} a single floating point number
|
|
* @throws {RangeError} Can only specify fixed or precision, not both. Also
|
|
* min cannot be greater than max
|
|
*/
|
|
export declare function floating(options?: IFloatingOptions): number;
|
|
//# sourceMappingURL=main.d.ts.map
|