web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Question about mod fun...
Power Apps
Unanswered

Question about mod function

(0) ShareShare
ReportReport
Posted on by 402

Hi there,

 

i'm trying to control if an IBAN is correct.

So i transform my input into a number

so far so good.

then i use the mod function to verify my input.

but i feel that i'm out of the range.

what is the limit of the mod in PowerApps ?

Because an example of a number is the following : 

30004015870002601171220152776

here the mod is 0, but if i test by removing the last digit, then the last two then 3 and so on i have always a mod = 0....

 

Thanks

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    153,030 Most Valuable Professional on at

    Hi @GeekAlf_Pro ,

    I had not tested this before, but it seems to be 17 digits - works perfectly up to this then given random (and obviously incorrect) results over.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • GeekAlf_Pro Profile Picture
    402 on at

    Thank you @WarrenBelz 

     

    i found a workaround, by splitting my imput data.

    I calculate the mod of the 12 first numbers.

    then i paste the result in front of the remaining digits

    and calculate again the mod of the new number

    have a good day.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard