[doc] Fix grammar in class docs: amount vs. number

Number is used for things that can be counted (discrete items - think "integer" in this context).

Also fixes a couple of awkward phrases.
This commit is contained in:
Andy Maloney
2022-08-17 18:08:09 -04:00
parent dbd1524362
commit 28e66882e5
36 changed files with 57 additions and 57 deletions

View File

@@ -440,7 +440,7 @@
<method name="length" qualifiers="const">
<return type="int" />
<description>
Returns the string's amount of characters.
Returns the number of characters in the string.
</description>
</method>
<method name="lpad" qualifiers="const">
@@ -522,7 +522,7 @@
# Last digit will be rounded up here, which reduces total digit count since
# trailing zeros are removed:
String.num(42.129999, 5) # "42.13"
# If `decimals` is not specified, the total amount of significant digits is 14:
# If `decimals` is not specified, the total number of significant digits is 14:
String.num(-0.0000012345432123454321) # "-0.00000123454321"
String.num(-10000.0000012345432123454321) # "-10000.0000012345"
[/codeblock]