Skip to main content

gcvt

Function gcvt 

Source
pub fn gcvt(value: f64, precision: i32, exp_char: char) -> String
Expand description

zend_gcvt(value, precision, '.', exp_char), with PHP’s special values. precision is the ini value: -1 selects the shortest round-trip digits.