Files
Pipi Chen b8a3516cd6 update
2020-05-07 01:02:44 +08:00

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