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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

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
    155,463 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard