macro_rules! sfloat {
($value:expr) => { ... };
}Expand description
Creates a Some(Value::Float) for use in write requests.
This macro wraps a floating-point value in Some(Value::Float), making it ready
for use with swrite! macro or any function expecting an Option<Value>.
§Arguments
$value- A floating-point value (will be converted to f64)
§Returns
Some(Value::Float)- The wrapped floating-point value