2018 16:51
To: profoxt...@leafe.com
Subject: Re: Modulo 97 of a very large number
PGRpdiBkaXI9J2F1dG8nPkRhcm4gLSBJIHJlcGxpZWQgb24gbXkgQ2VsbCAmY
W1wOyBkaWRuJ3Qg
QyBhbGwgdGhlIHJlcGxpZXMgYWxyZWFkeSB0aGVyZSE8ZGl2IGRpcj0iYXV0by
I+PGJyPjwvZGl2
PjxkaXYgZGlyPSJhdXRvIj46LSg8L2Rpdj48ZGl2IGRpcj0iYXV0byI
+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
PGRpdiBkaXI9J2F1dG8nPkRhcm4gLSBJIHJlcGxpZWQgb24gbXkgQ2VsbCAmYW1wOyBkaWRuJ3Qg
QyBhbGwgdGhlIHJlcGxpZXMgYWxyZWFkeSB0aGVyZSE8ZGl2IGRpcj0iYXV0byI+PGJyPjwvZGl2
PjxkaXYgZGlyPSJhdXRvIj46LSg8L2Rpdj48ZGl2IGRpcj0iYXV0byI+LUstPC9kaXY+PGRpdiBk
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-
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
>
> 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.
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
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
8 matches
Mail list logo