Hi,
I have got a serialnumber and have to separate every single number to calculate with them. For example:
Serial: 14789
1*5
4*6
7*5
8*6
9*5
How can I get the numbers? I only found the possibility to get them as string (COPYSTR(Serial,1,1)). But I need them as integer.... Is there any possibility?
0
Comments
If it is so, you can use
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]
The function calculates the sum of the products. I need a checksum of
the products. Therefore I cannot use this function.
You've got half of the answer. Here is the other half:
OK := EVALUATE(IntegerVar,COPYSTR(Serial,Pos,1))
Greetings,
Edgar
I tried it and it's exactely what I need!!