Location latitude and logitude precision returns less decimals than provided precision #3373
Open
7 of 10 tasks
Labels
m: location
Something is referring to the location module
p: 1-normal
Nothing urgent
question
Further information is requested
Pre-Checks
Describe the bug
Some of our services are expecting latitude/longitude with 6 digit precision.
faker.latitude(longitude) has a prop to generate with specified precision but in case of last digit 0 the digit is not being returned meaning that we sometimes end up with precision 5.
Minimal reproduction code
Additional Context
No response
Environment Info
Which module system do you use?
Used Package Manager
npm
The text was updated successfully, but these errors were encountered: