Experimental
Rounds a zoom factor to one decimal place. CSS zoom and repeated + ZOOM_STEP additions accumulate binary-float error (e.g. 1.1 + 0.1 = 1.2000000000000002); rounding keeps stored and compared factors stable.
zoom
+ ZOOM_STEP
The zoom factor to round
The factor rounded to one decimal place This export is unstable and may change shape or disappear without notice
Rounds a zoom factor to one decimal place. CSS
zoomand repeated+ ZOOM_STEPadditions accumulate binary-float error (e.g. 1.1 + 0.1 = 1.2000000000000002); rounding keeps stored and compared factors stable.