yyjson_mut_set_fp_to_fixed

Function yyjson_mut_set_fp_to_fixed 

Source
pub unsafe extern "C" fn yyjson_mut_set_fp_to_fixed(
    val: *mut yyjson_mut_val,
    prec: c_int,
) -> bool
Expand description

Set the floating-point number’s output format to fixed-point notation. Returns false if input is NULL or val is not real type. @see YYJSON_WRITE_FP_TO_FIXED flag. @warning This will modify the immutable value, use with caution.