Explorar el Código

Merge pull request #22527 from FlamyAT/patch-1

Fixed casting result in float.xml
Max Hilbrunner hace 7 años
padre
commit
f1c2c3038c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      doc/classes/float.xml

+ 1 - 1
doc/classes/float.xml

@@ -35,7 +35,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>