Because js exists like 0.1+0.2! = 0.3, the simplest method is to multiply each by 10 and then divide by 10, but this method is obviously troublesome in the project that requires frequent calculation (such as including order payment), so we can introduce some plug-ins to use, such as:

Portal:number-precision

Yes, it’s that simple, the picture above is all the introduction and documentation, hahaha