Esc

toml_set_fraction

procedureextensionsince 0.36.1Source
  • macOS: toml_set_fraction works on macOS
  • Linux: toml_set_fraction works on Linux
  • Windows: toml_set_fraction works on Windows
  • Wasm: toml_set_fraction works on Wasm

Copies exact fractional-second digits. Empty means no fractional component. Replacement temporarily holds both old and new strings; max_retained_bytes bounds the resulting document. Example: error = toml_set_fraction(*doc, value, "123456789012");

Signature

toml_set_fraction :: (
    doc: *Toml_Document,
    value: *Toml_Value,
    digits: string
) -> Toml_Error

See also