How to add zero(0) if the TextBox decimal value Length more than 1
Hi Developers,How to add zero(0) if the TextBox decimal value Length more than 1
My Reqirements is as below
if TextBox value is =1234 = sould be insert as 1234
if TextBox value is =1234.22 = sould be insert as 1234.22
if TextBox value is =1234.2= sould be insert as 1234.20
if TextBox value is =1234.222 = sould be insert as 1234.20
if the value decimal length is 1 or more than 1 na automatically add zero.
if Decimal value less than 2 or more than 2 digits
if 1.2 will be 1.20
if 1.222 will be 1.20 also
I am tried but i cant able to get exact output.so anyone know please help me to how am done this task
thanking you
Paul.S