java.lang.Float.toHexString() java.lang.Float.shortValue() java.lang.Float.toString() java.lang.Float.toHexString() package com.codingdict; import java.lang.*; public class FloatDemo { public static void main(String[] args) { Float f = new Float("50.32"); /* returns a hexadecimal string representation of the float argument */ String str = f.toHexString(1.0f); System.out.println("Hex String = " + str); str = f.toHexString(3.0f); System.out.println("Hex String = " + str); str = f.toHexString(0.25f); System.out.println("Hex String = " + str); str = f.toHexString(Float.MIN_VALUE); System.out.println("Hex String = " + str); } } java.lang.Float.shortValue() java.lang.Float.toString()