diff --git a/src/base.ts b/src/base.ts
index 6b94aad0362b6cdf12f31d071d28558927413281..b0465b310ccbb22395d4cd41f5e4079c39ca3fe4 100644
--- a/src/base.ts
+++ b/src/base.ts
@@ -112,7 +112,7 @@ export function floatDivAndMod(a: number, b: number, e: number = 1E-7): { q: num
  * number of decimals specified in app preferences; if given number is too low and
  * more decimals would be needed, keep as much significative digits as the number of
  * decimals specified in app preferences, except potential trailing zeroes;
- * returns "ERR" is value is not a number or is undefined
+ * returns "ERR" if value is not a number or is undefined
  *
  * ex. with 3 decimals:
  * 1             => 1.000