Here you can find the source of zeroToStr(String fStr, String lStr)
public static String zeroToStr(String fStr, String lStr)
//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; } }