utils#
The utils
module is a collection of general utilities that may be
useful to multiple other modules.
Functions#
- utils.meterstoinches(meters)#
Convert meters, which is what the MumbleLink data returns, to inches, which is what GW2 uses internally for map coordinates.
- Parameters:
meters (
number
) – A distance or coordinate in meters- Returns:
meters
* 39.3701- Return type:
Version History
Version
Notes
0.1.0
Added
- utils.formatinchesstr(inches)#
Format a number of inches to a human friendly string, such as “5 ft 2 in”.
Version History
Version
Notes
0.1.0
Added