Proofread and improve the whole class reference
- Document a few more properties and methods - Add more information to many classes - Fix lots of typos and gramar mistakes - Use [code] tags for parameters consistently - Use [b] and [i] tags consistently - Put "Warning:" and "Note:" on their own line to be more visible, and make them always bold - Tweak formatting in code examples to be more readable - Use double quotes consistently - Add more links to third-party technologies
This commit is contained in:
@ -15,7 +15,7 @@
|
||||
<argument index="0" name="from" type="bool">
|
||||
</argument>
|
||||
<description>
|
||||
Cast a [bool] value to a floating point value, [code]float(true)[/code] will be equal to 1.0 and [code]float(false)[/code] will be equal to 0.0.
|
||||
Cast a [bool] value to a floating-point value, [code]float(true)[/code] will be equal to 1.0 and [code]float(false)[/code] will be equal to 0.0.
|
||||
</description>
|
||||
</method>
|
||||
<method name="float">
|
||||
@ -24,7 +24,7 @@
|
||||
<argument index="0" name="from" type="int">
|
||||
</argument>
|
||||
<description>
|
||||
Cast an [int] value to a floating point value, [code]float(1)[/code] will be equal to 1.0.
|
||||
Cast an [int] value to a floating-point value, [code]float(1)[/code] will be equal to 1.0.
|
||||
</description>
|
||||
</method>
|
||||
<method name="float">
|
||||
@ -33,7 +33,7 @@
|
||||
<argument index="0" name="from" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
Cast a [String] value to a floating point value. This method accepts float value strings like [code]"1.23"[/code] and exponential notation strings for its parameter so calling [code]float("1e3")[/code] will return 1000.0 and calling [code]float("1e-3")[/code] will return 0.001.
|
||||
Cast a [String] value to a floating-point value. This method accepts float value strings like [code]"1.23"[/code] and exponential notation strings for its parameter so calling [code]float("1e3")[/code] will return 1000.0 and calling [code]float("1e-3")[/code] will return 0.001.
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
|
||||
Reference in New Issue
Block a user