float

ThingsDB uses 64bit to store float values and has support for the e notation and special float values like inf, -inf and nan.

Useful functions

Function Description
float return a float type for a given value.
is_float check if the given value is of the float type.
is_inf check if the given value is infinite.
is_nan check if the given value is not-a-number.

This code creates a float property plank_constant to collection stuff:

// Assign property `plank_constant`
.plank_constant = 6.62607004e-34;