daily pastebin goal
59%
SHARE
TWEET

Untitled

a guest Mar 26th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import android.text.TextUtils;
  2. import java.util.Locale;
  3.  
  4. public class DigitUtil {
  5.  
  6.     public static String toEn(String value){
  7.         if (!TextUtils.isDigitsOnly(value))
  8.             return value;
  9.  
  10.         return String.format(Locale.US, "%d", Long.valueOf(value));
  11.     }
  12.    
  13. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top