Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PROCEDURE CleRIB(Compte is string)
- nResulta is 8byte int
- sRib is string
- sComptes is string = NoCharacter(Compte,"-",sscInside)
- nResulta = Val(Middle(sComptes,4,15)) * 100
- nResulta = modulo(nResulta,97)
- nResulta = 97 - nResulta
- sRib = NumToString(nResulta,"02d")
- RESULT sRib
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement