Re: Modulo 97 of a very large number

2018-04-16 Thread Kurt at VR-FX
2018 16:51 To: profoxt...@leafe.com Subject: Re: Modulo 97 of a very large number PGRpdiBkaXI9J2F1dG8nPkRhcm4gLSBJIHJlcGxpZWQgb24gbXkgQ2VsbCAmY W1wOyBkaWRuJ3Qg QyBhbGwgdGhlIHJlcGxpZXMgYWxyZWFkeSB0aGVyZSE8ZGl2IGRpcj0iYXV0by I+PGJyPjwvZGl2 PjxkaXYgZGlyPSJhdXRvIj46LSg8L2Rpdj48ZGl2IGRpcj0iYXV0byI

RE: Modulo 97 of a very large number

2018-04-16 Thread John Weller
+1 John Weller 01380 723235 07976 393631 > -Original Message- > From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of > Kurt Wendt > Sent: 16 April 2018 16:51 > To: profoxt...@leafe.com > Subject: Re: Modulo 97 of a

Re: Modulo 97 of a very large number

2018-04-16 Thread Kurt Wendt
PGRpdiBkaXI9J2F1dG8nPkRhcm4gLSBJIHJlcGxpZWQgb24gbXkgQ2VsbCAmYW1wOyBkaWRuJ3Qg QyBhbGwgdGhlIHJlcGxpZXMgYWxyZWFkeSB0aGVyZSE8ZGl2IGRpcj0iYXV0byI+PGJyPjwvZGl2 PjxkaXYgZGlyPSJhdXRvIj46LSg8L2Rpdj48ZGl2IGRpcj0iYXV0byI+LUstPC9kaXY+PGRpdiBk

Re: Modulo 97 of a very large number

2018-04-16 Thread Kurt Wendt
How about store orig # as char str - then take chunks starting from left - do Mod of them but results stored as multiple of 10 based upon orig str pos - then I think U can add those sub results together. Just a quick thought off top of my head...-K-

RE: Modulo 97 of a very large number

2018-04-16 Thread Paul Newton
Brilliant Christof Many thanks -Original Message- From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of Wollenhaupt, Christof Sent: 16 April 2018 15:36 To: profoxt...@leafe.com Subject: Re: Modulo 97 of a very large number > > I need to calculate N % 97 aka Mo

Re: Modulo 97 of a very large number

2018-04-16 Thread Wollenhaupt, Christof
> > I need to calculate N % 97 aka Mod(N,97) for very large numbers containing > 28 digits. Obviously VFP can't handle numbers that large but maybe > somebody can suggest some kind of piece-wise method that would enable me to > calculate what I need? > Sounds like an IBAN checksum calculation.

RE: Modulo 97 of a very large number

2018-04-16 Thread Paul Newton
Thanks Dave -Original Message- From: ProFox [mailto:profox-boun...@leafe.com] On Behalf Of Dave Crozier Sent: 16 April 2018 15:16 To: ProFox Email List <profox@leafe.com> Subject: RE: Modulo 97 of a very large number Paul, This may lead somewhere... http://fox.wikis.com/wc.dl

RE: Modulo 97 of a very large number

2018-04-16 Thread Dave Crozier
Paul, This may lead somewhere... http://fox.wikis.com/wc.dll?Wiki~VFPFloatingPointDataType Dave Crozier Software Development Manager Flexipol Packaging Ltd. --- This communication and the information it contains is intended for the