Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - I saw the formula for extracting the digit string at the end of the string on the Internet, but it will automatically remove the decimal point and the following 0. How to raise it?
I saw the formula for extracting the digit string at the end of the string on the Internet, but it will automatically remove the decimal point and the following 0. How to raise it?
1, what kind of data did you receive? You should use floating-point data to receive it. If you use plastic surgery, it will automatically delete the decimal point.

2. Actually, your algorithm first turns the string (advanced data type) out of the basic data type. In the process of turning, you need to pay attention to whether the decimal point at the back has been erased. If it is not erased, it can be converted normally.