We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e2024d commit 5aabd77Copy full SHA for 5aabd77
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "node-nmea",
3
- "version": "0.2.0",
+ "version": "0.2.1",
4
"description": "Parser for NMEA sentences.",
5
"main": "lib",
6
"scripts": {
src/index.js
@@ -232,7 +232,7 @@ function randomData(opts = {}) {
232
}
233
234
if ((opts.longitude >= -180) && (opts.longitude <= 180)) {
235
- longitude = latToDmm(opts.longitude)
+ longitude = lngToDmm(opts.longitude)
236
} else {
237
longitude = lngToDmm(chance.floating({min: -180, max: 180}))
238
0 commit comments