Gcode.Model.Expr.Float (gcode v1.0.1)

Represents a floating-point number expression in G-code.

Summary

Functions

Initialise a Float from a floating-point value.

Types

@type t() :: %Gcode.Model.Expr.Float{f: float()}

Functions

@spec init(float()) :: Gcode.Result.t(t())

Initialise a Float from a floating-point value.