try float number for calculating zoom