Skip to main content

php_double

Function php_double 

Source
pub fn php_double(f: f64) -> Result<String>
Expand description

smart_str_append_double with serialize_precision = -1: the shortest round-trip form PHP prints for a float (json_encode and serialize share it; the latter spells the exponent E).