Skip to main content

new_float

Function new_float 

Source
pub fn new_float(float: F) -> K
Expand description

Constructor of q float object. Relabeling of kf.

ยงExample

use kdbplus::api::*;

#[no_mangle]
pub extern "C" fn create_float(_: K) -> K{
  new_float(-6302.620)
}
q)coffee_float: `libapi_examples 2: (`create_float; 1);
q)coffee_float[]
-6302.62