Work with great numbers

Hello everybody,

I want to program an IBAN-Tester and there i have to calculate with numbers with 22 or more digits but snap! cant ´t work with such great numbers.

Example: I have to calculate 1234567890123456789012 mod 97 and it don´t works in snap!

How can I work in snap! with such great numbers?

Thamks for every help!

use the untitled script pic (6) block (can be found in a PushButtonMorph 1 [126@22 | 42@24]>Libraries...>Bignums, rationals, complex #s)

Wow, that was very fast and very helpfull. My Problem is solved. Thanks!!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.