Hello,
I have an integer which represents the number of digits after the decimal point.
in an edittext, I would like to be able to enter a number.
if I write "12598" for example, I would like the edittext to display:
if integer = 0 then "12598"
if integer = 1 then "1259.8"
if integer = 2 then "125.98"
if integer = 3 then "12.598"
.....
how to do ?
Thank you and good day.
I have an integer which represents the number of digits after the decimal point.
in an edittext, I would like to be able to enter a number.
if I write "12598" for example, I would like the edittext to display:
if integer = 0 then "12598"
if integer = 1 then "1259.8"
if integer = 2 then "125.98"
if integer = 3 then "12.598"
.....
how to do ?
Thank you and good day.