import { randomFloat } from './random' ; import { Mocker } from '../mocker' ; param min param max param fixed returns { Mocker } export function number ( min , max ? , fixed ? ) { max = max || min ; return new Mocker ( function ( ) { return randomFloat ( min , max , fixed ) ; } ) ; }