aboutsummaryrefslogtreecommitdiff
path: root/test/modules
diff options
context:
space:
mode:
Diffstat (limited to 'test/modules')
-rw-r--r--test/modules/location.spec.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/modules/location.spec.ts b/test/modules/location.spec.ts
index e363c188..054669a5 100644
--- a/test/modules/location.spec.ts
+++ b/test/modules/location.spec.ts
@@ -12,7 +12,9 @@ function kilometersToMiles(miles: number) {
}
/**
- * Returns the number of decimal places a number has
+ * Returns the number of decimal places a number has.
+ *
+ * @param num The number to check.
*/
function precision(num: number): number {
const decimalPart = num.toString().split('.')[1];