In https://dartpad.dev/ I try:
void main() {
print(double.parse('9223372036854775'));
}
It resulting 9223372036854776 instead of 9223372036854775
My question is:
Why?
If I need to limit the string by maxlength for accurate result, can I simply limit the text to 15 digits? Please tell me how you approach this problem.