Java Short floatValue() MethodThe floatValue() method of Java Short class returns the Short object value into float. SyntaxParametersN/A ExceptionN/A Return valueThis floatValue(method) returns float value corresponding to Short object. Example 1Test it NowOutput: Returned float value of Short is = 100.0 Example 2Test it NowOutput: Returned float value of Short is = -135.0 Example 3: ( Old deprecated style)Test it NowOutput: Returned float value of Short is = 35.0
Next TopicJava Short
|