Convert the given double to a JsonnetJsonValue.
import std.math : approxEqual; double s = 13.37; JsonneD jd = JsonneD(); JsonnetValue sv = jd.makeNumber(s); Nullable!double ss = sv.extractNumber(); assert(!ss.isNull()); assert(approxEqual(s, ss));
See Implementation
Convert the given double to a JsonnetJsonValue.