--- id: value-float name: Value.float category: value kind: namespace-method tokens: Value.float sig: Value.float(x: float) -> value tip: Wrap a float in a value node. order: 36 ns: Value member: float --- Builds a float node (kind 7) carrying x. Read it back with Value.as_float; Value.as_int gives its whole part. Json.encode writes it as a number.