hi,

I am trying to display a decimal in a textbox as 10.23. right now it is shown as 10.2333.

i have created a function that removes the last two digits of the number but sometimes the number is 10.23 so when using this function it will remove the two digits ie 10..

is there anyway i could count the number of digits after decimal point then remove accordingly.

thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.