console · function ·

WriteFloatMetric

Write float metric.

consolecpufunctionsource-exampleyeho

Write readable output, prompts, values, and diagnostics in a console application.

external WriteFloatMetric(text label, float value, text unit)

Status: source-declared

Parameters

text label
Supply label as text.
float value
Supply value as float.
text unit
Supply unit as text.

Use WriteFloatMetric

A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.

cpu · source-example · type checked

using console

// Write readable output, prompts, values, and diagnostics in a console application.
text label = "Player health"
float value = 1.0
text unit = "ms"
WriteFloatMetric(label, value, unit)
Console.Log("WriteFloatMetric completed")
project.mech
manifestVersion = "2"
package = "api.example.console__writefloatmetric"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "console"
version = "0.1.0"
path = "../../../yeho/packages/console"
Notes and source

Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup.

yeho/packages/console/console.yh:270