Class UtilityMethods


  • public final class UtilityMethods
    extends Object
    Author:
    v.zafari@chmail.ir
    • Method Detail

      • getBoolean

        public static boolean getBoolean​(Object object)
        Returns:
        true if value of object be '1', 'on' or 'true', otherwise false.
      • numberToAlphabet

        public static String numberToAlphabet​(long number)
        تابع تبدیل عدد به حروف فارسی با پشتیبانی از اعداد منفی تا سقف تریلیون که در صورت بزرگتر بودن عدد ارسالی عبارت تعریف نشده بر ‌میگردد
        Parameters:
        number - this number between [-999999999999999 ,999999999999999]
        Returns:
        String