20
Views
2
Comments
[iMask Js] Can I limit the maximum number of digits before the decimal point?
imask-js
Reactive icon
Forge asset by Paulo Moreira
Application Type
Reactive
Service Studio Version
11.54.42 (Build 63111)

As the title says. Is there a way to limit the maximum number of digits after the decimal point?

Thanks

2023-05-02 10-33-02
Madhuri Patil

Hello @Tom Zhao,

 I think you can use Regex validation in that.


Thanks,

Madhuri

2024-11-14 08-23-36
Melvin September

Hey Tom,

You can use the built-in math function Round() to limit the numbers after the decimal point.
Kind regards,

Ex: Round(Number,2) will give x,xx.

Melvin

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.