Showing
1 changed file
with
5 additions
and
0 deletions
... | @@ -638,6 +638,11 @@ import AVFoundation | ... | @@ -638,6 +638,11 @@ import AVFoundation |
638 | var result = 0; | 638 | var result = 0; |
639 | 639 | ||
640 | var fixedCouponCode = couponString; | 640 | var fixedCouponCode = couponString; |
641 | + | ||
642 | + if (fixedCouponCode.count == 13) { | ||
643 | + return fixedCouponCode; | ||
644 | + } | ||
645 | + | ||
641 | if (fixedCouponCode.count < 12) { | 646 | if (fixedCouponCode.count < 12) { |
642 | let loops = 12 - fixedCouponCode.count; | 647 | let loops = 12 - fixedCouponCode.count; |
643 | var zerosStr = ""; | 648 | var zerosStr = ""; | ... | ... |
-
Please register or login to post a comment