@corefunc/corefunc
    Preparing search index...

    Function numberDecimalPortion

    • Parameters

      • numberGetFrom: string | number
      • OptionalremoveTrailingZeros: boolean = true

      Returns string

      numberDecimalPortion

      Get number decimal portion.

      0.1.39

      numberDecimalPortion("0.000100", false); // ➜ '000100'
      
      numberDecimalPortion("1"); // ➜ ''
      
      numberDecimalPortion(5.123); // ➜ '123'
      
      numberDecimalPortion(12345678.99); // ➜ '99'