Java Zero Format zeroToStr(String fStr, String lStr)

Here you can find the source of zeroToStr(String fStr, String lStr)

Description

zero To Str

License

Open Source License

Declaration

public static String zeroToStr(String fStr, String lStr) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static String zeroToStr(String fStr, String lStr) {
        if (fStr.equals("0.00") || fStr.equals("0"))
            fStr = lStr;/*from  ww  w .ja va2s. c  om*/
        return fStr;
    }
}

Related

  1. zeroSupply(String value, int len)
  2. zeroThrough(int max)
  3. zeroToOne(float value, float min, float max)
  4. zeroToOne(long _min, long _max, long _value)
  5. zeroToSpace(String s)
  6. zeroUnPad(String s)
  7. zeroUnPad(String s)