Skip to content

Commit 36ab0cf

Browse files
committed
chore(readme): update readme
1 parent a032115 commit 36ab0cf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ $ npm install --save @fakerjs/float
1515
## Usage
1616

1717
```js
18-
import randomFloat from '@fakerjs/random-float';
18+
import fakeFloat from '@fakerjs/random-float';
1919

20-
randomFloat();
20+
fakeFloat();
2121
//=> -120920142888.5024
2222

23-
randomFloat(0, 10);
23+
fakeFloat(0, 10);
2424
//=> 7.6913
2525

26-
randomFloat(0, 10, 6);
26+
fakeFloat(0, 10, 6);
2727
//=> 7.691312
2828
```
2929

0 commit comments

Comments
 (0)