mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 08:25:32 +00:00
Note: build.sh updated to make sure that test:help build action:target doesn't also call test.sh by adding `:_all` meta-target. Note: CI will need a new help-keyman-com.sh build step to deploy web engine help. Fixes: #12347
414 B
414 B
| title |
|---|
| toNumber |
Summary
String -> number conversion, with default.
Syntax
keyman.util.toNumber(s, dflt);
Parameters
s- Type:
string - Numeric string.
dflt- Type:
number - Default value if parse is unsuccessful.
Return Value
number- The string's conversion to a whole-number numeric value, or the default value if unsuccessful.
Description
...