pub const FP_PRECISION_MULTIPLIER: f32 = 1000.0;Expand description
Multiplier for floating point accuracy. Elements such as px or %
are only accurate until a certain number of decimal points, therefore
they have to be casted to isizes in order to make the f32 values
hash-able: Css has a relatively low precision here, roughly 5 digits, i.e
1.00001 == 1.0