Normal Topic Long Number Truncation (Read 995 times)
CapitalG
Full Member
Members
***
Offline



Posts: 143
Location: Phoenix, Arizona
Joined: Mar 4th, 2003
Long Number Truncation
Jun 14th, 2018 at 6:37pm
Print Post Print Post  
Hello,
I am working with some very large numbers in order to verify check digits and seem to have a problem with truncation in the @Mod command.

I am trying to run @Mod(25490023860211151428341625701253800,97)

A have tried it as double, int, string, and string in combo with @ToNumber with no luck.  Am I doing it incorrectly or will it truncate at a certain point?  If so, is there a work-around?

Thanks
  
Back to top
 
IP Logged
 
CapitalG
Full Member
Members
***
Offline



Posts: 143
Location: Phoenix, Arizona
Joined: Mar 4th, 2003
Re: Long Number Truncation
Reply #1 - Jun 14th, 2018 at 11:07pm
Print Post Print Post  
Nevermind, I found a different solution. I wrote a function to break the number into smaller chunks and carry the remainder to the next chunk.

  
Back to top
 
IP Logged