Function kdbplus::api::new_real[][src]

pub fn new_real(real: F) -> K
Expand description

Constructor of q real object. Relabeling of ke.

Example

use kdbplus::api::*;
 
#[no_mangle]
pub extern "C" fn create_real(_: K) -> K{
  new_real(0.00324)
}
q)reality: `libapi_examples 2: (`create_real; 1);
q)reality[]
0.00324e