From fcbb1bf68924690b2ce19b57a0ed22fb15a685bd Mon Sep 17 00:00:00 2001 From: Nikolay Iliev Date: Mon, 21 Nov 2016 13:20:02 +0200 Subject: [PATCH] updated artcile for getNumber --- tests/app/application-settings.md | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/app/application-settings.md b/tests/app/application-settings.md index ce43cd27d..f9253657b 100644 --- a/tests/app/application-settings.md +++ b/tests/app/application-settings.md @@ -17,6 +17,7 @@ Using application settings methods requires to load "application settings" modul {%snippet application-settings-string%} ### Set and get numeric value. +Use this method to set numbers with floating point and up to 9 digits long. For larger numbers use `setString`. We use `toFixed()` here in order to avoid floating point errors - ex: `54.321` becoming `54.320999999537`. Beware the result of `toFixed()` is a string not a number therefore you cannot use `===` or `!==` when comparing with a number. {%snippet application-settings-number%}