utility-pickle - v0.1.0
    Preparing search index...

    Class NumberTransformation

    A static utility class for common number transformations and parsing operations.

    Index

    Methods

    Methods

    • Converts a string or number to an integer (using base 10). If the input is a string, it is parsed; otherwise, the number is truncated.

      Parameters

      • i: string | number

        The string or number to convert.

      Returns number

      The integer value.