Confusing javadoc typo
Typo fixed. The javadoc was written: "NumberUtils.toFloat(null, 1.1f) = 1.0f" That is not correct, it should be: "NumberUtils.toFloat(null, 1.1f) = 1.1f"
This commit is contained in:
parent
2f28cef08f
commit
03c15abb44
|
@ -1493,7 +1493,7 @@ public class NumberUtils {
|
|||
* value is returned.</p>
|
||||
*
|
||||
* <pre>
|
||||
* NumberUtils.toFloat(null, 1.1f) = 1.0f
|
||||
* NumberUtils.toFloat(null, 1.1f) = 1.1f
|
||||
* NumberUtils.toFloat("", 1.1f) = 1.1f
|
||||
* NumberUtils.toFloat("1.5", 0.0f) = 1.5f
|
||||
* </pre>
|
||||
|
|
Loading…
Reference in New Issue