fix the calc error about use parseInt. now use paseFloat