@yookue/ts-lang-utils
    Preparing search index...

    Function multiply100

    • Returns a float value from the given source which multiply 100

      Parameters

      • Optionalsource: null | string | number

        the source value to inspect

      • OptionaldefaultValue: number

        the default value if the source cannot be converted

      Returns undefined | number

      a float value from the given source which multiply 100

      David Hsing

      multiply100('0.82');    // 82
      multiply100('82%'); // 82