Function style::attr::parse_double
source ยท pub fn parse_double(string: &str) -> Result<f64, ()>
Expand description
Parse a floating-point number according to https://html.spec.whatwg.org/multipage/#rules-for-parsing-floating-point-number-values