Java Float to String floatToString(float boost)

Here you can find the source of floatToString(float boost)

Description

float To String

License

Open Source License

Declaration

public static String floatToString(float boost) 

Method Source Code

//package com.java2s;

public class Main {
    public static String floatToString(float boost) {
        if (boost != 1.0f)
            return "^" + Float.toString(boost);
        return "";
    }//from w  w w  . ja va2 s .  c  o m
}

Related

  1. floatToFormattedString(float f)
  2. floatToString(final float value, final boolean stripDotZero)
  3. floatToString(float d)
  4. floatToString(float f, boolean asAPI)
  5. floatToString(float f, int precision)
  6. floatToString(float f, int precision)