#[no_mangle]
pub extern "C" fn nstd_string_from_f64(v: NSTDFloat64) -> NSTDString
Available on crate feature nstd_string only.
Expand description

Creates a new NSTDString from an NSTDFloat64.

Parameters:

  • NSTDFloat64 v - The 64-bit floating-point value.

Returns

NSTDString string - The 64-bit floating-point value as a string.

Panics

Panics if allocating fails.