satim-module - v1.0.0
    Preparing search index...

    Function hasSubCentimePrecision

    • Detect whether a major-unit amount has more than 2 decimal places.

      Returns true iff the IEEE-754 representation of amount * 100 differs from the nearest integer by more than the relative tolerance described in the file header. Non-finite or non-numeric inputs return false — this function is not the validation barrier; toMinorUnits performs the upstream type and range checks.

      Parameters

      • amount: number

      Returns boolean