Here you can find the source of formatFloat(int floatValue)
Parameter | Description |
---|---|
floatValue | Float value representation |
public static String formatFloat(int floatValue)
//package com.java2s; /*/* w w w .j a v a2s . c om*/ * @(#)TextUtility.java * * Copyright (c) 2003 DCIVision Ltd * All rights reserved. * * This software is the confidential and proprietary information of DCIVision * Ltd ("Confidential Information"). You shall not disclose such Confidential * Information and shall use it only in accordance with the terms of the license * agreement you entered into with DCIVision Ltd. */ public class Main { /** * formatFloat * * Convert a float (java.sql.Float) representation into string. * * @param floatValue Float value representation * @return String The String format after convertion */ public static String formatFloat(int floatValue) { return (new Float(floatValue).toString()); } }