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 / Possible to force curr...
Power Apps
Answered

Possible to force currency entered in increments?

(0) ShareShare
ReportReport
Posted on by 39

Hi all! I have a form that serves as a cash order. I have text boxes that update the SharePoint list with the amount of denominations they need. The denominations need to be in certain increments, however.

 

For instance,

Ones - increments of $1,000

Twos - increments of $2,000

Fives - increments of $5,000

Tens - increments of $10,000

Twenties - increments of $20,000.

 

I know you can test for a value in-between numbers, but I'm not sure how to enforce that when the number can be so many different options. I have an error box that I'm trying to implement this idea into the visible function. Anyone do something like this?

Categories:
I have the same question (0)
  • Bilakanti Profile Picture
    1,226 on at

    @asmith2  Can you send me the screenshot of what you are trying to achieve.

  • asmith2 Profile Picture
    39 on at

    PXL_20210604_053249714.jpg

    So the value entered needs to be incremented by the specific amounts under it. So the value in Ones must be in increments of $1,000. If a user entered $1,200 they'd get an error because that's not a $1,000 increment. It would only accept $1,000 , $2,000 , etc.

  • Verified answer
    zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    a.jpg

    Mod will give you remainder. If remainder is 0 that mean is divisible by 100 and not error. If it is not zero then error.

    You can customize this logic anyway you want

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @asmith2,

    Do you means that you want to each Text input add increments based on the specific number?

    Could you please share a bit more about the scenario?

    I think the Mod() could achieve your needs.

    I think you could set the OnChange property of each TextInput control as below:

    If(
     Mod(
     Value(TextInput4.Text),
     1000
     ) <> 0,
     Notify(
     "Please incremented by the specific amounts!",
     NotificationType.Error
     )
    )

    Note that you could replace the 1000 within the Mod() function with another specific number as you expect.

    Check if this could help you.

    Regards,

    Qi

  • asmith2 Profile Picture
    39 on at

    Perfect, thank you!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard