do not use float
improve
clarify names
/100 not /1000
missing case
Fuuuu
fix bogus value
fix log format to avoid warning