Fix bug of note caluculation number with dot