Setting Decimal Places

Hello,

I have a situation whereby I need to alternate the no of decimal places for a decimal field during input depending on whether the value entered exceeds 2 decimal places.

Can you tell me how to check whether the input exceeds two decimal places (i.E. 3 Decimal Places) and then how to allow this input of three decimal places or limit to 2 decimal places.

Thanks

Hi

Please check “DecimalPlaces” property.

Regards

Rajasekhar.Y