v1.0.0
mod97
97 का शेषफल गणना करें।
0लाइक 24 हज़ार30-दिन डाउनलोड150Pub अंक
AndroidiOSWebmacOSWindowsLinux
ISO7064 में निर्दिष्ट अनुसार प्रदत्त संख्या का MOD 97 10 की गणना करता है।
>1.16.0 <2.0.0यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
Calculates the MOD 97 10 of the passed number as specified in ISO7064.
Only positive numbers are allowed.
I have copied this code from iban.js
Build Status
A simple usage example:
import 'package:mod97/mod97.dart';
main() {
int m = mod97('1234567');
int m2 = mod97('-123', onError: (_) => 5);
// m2 will be 5
}
The input must be a String. Returned value is an integer.
Invalid characters throw a FormatException unless an onError
function is provided.