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.
Detect whether a major-unit amount has more than 2 decimal places.
Returns
trueiff the IEEE-754 representation ofamount * 100differs from the nearest integer by more than the relative tolerance described in the file header. Non-finite or non-numeric inputs returnfalse— this function is not the validation barrier; toMinorUnits performs the upstream type and range checks.