cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Height conversion feasibility in Personal Information Portlet

SatishPanda
Explorer
0 Kudos
134

 

Hi Community,

We have a "Height" field in the Personal Information Portlet. Could we implement a validation rule for this field so that any value entered with a decimal part greater than or equal to .12 is automatically rounded up to the next whole number?

For example:

  • If the entered value is 5.11 feet, it should be accepted as 5.11 feet.
  • If the entered value is 5.12 feet, it should automatically round up and be recorded as 6 feet.

Thank you!

Accepted Solutions (0)

Answers (1)

Answers (1)

Sylvia_Strangfeld
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi @SatishPanda,

You should be able to fulfill this requirement.

There might be different ways, but one solution I could think about is to use minus and round function, such as below:

S_Strangfeld_0-1729001070355.png

You can add this rule as onChange rule. 

Hope this helps.

BR, Sylvia