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

Copy Markdown

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

Summary

Functions

Initialise a Float from a floating-point value.

Types

t()

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

Functions

init(value)

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

Initialise a Float from a floating-point value.