cmj

GetAsNumber

Discussion created by cmj on Dec 16, 2018
Latest reply on Dec 16, 2018 by cmj

I have a script step that ensures the user enters a number in a field:

If [Exact( GetAsNumber ( Income::IncBudgetAmt) ; Income::IncBudgetAmt ) = 0]

 

This works but should someone enter a number such as 25.50, the trigger is tripped because of the zero.

If the entry was made without the zero 25.5, the trigger is not tripped.

 

I would like users to be able to enter a zero without the trigger being activated. Any thoughts on this would be appreciated.

Thanks

Outcomes