Function eosio_sys::printsf

source ·
pub unsafe extern "C" fn printsf(value: f32)
Expand description

Prints value as single-precision floating point number @brief Prints value as single-precision floating point number (i.e. float) @param value of float to be printed

Example:

@code float value = 5.0 / 10.0; printsf(value); // Output: 0.5 @endcode