{"id":"type--decimal-3e6d4b","name":"decimal","owner":"yeho","package":"language.types","kind":"type","signature":"decimal","description":"A signed decimal number in the signed decimals family. The spelling selects its storage width; use only values representable by that type.","context":"A focused reference with a complete example. Numeric widths and experimental types still depend on the selected backend.","parameters":[],"returns":"","members":[],"tags":["cpu","language","signed-decimals","type","yeho"],"updated":"2026-09-09","source":{"repository":"demonhunterlabs","path":"app/lib/yeho-language-reference.ts"},"status":"documented","notes":[],"examples":[{"id":"complete","title":"Use decimal","description":"A signed decimal number in the signed decimals family. The spelling selects its storage width; use only values representable by that type.","code":"// Start a typed counter or measurement at zero.\ndecimal current = 0\nif current == 0 { Console.Log(\"Ready\") }\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.type__decimal_3e6d4b\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n","tags":["cpu","language","type"],"run":"cpu-oracle","verification":"type checked","sha256":"48f0c727e12e68ef887d236620be1ea95bb78ab5e52d76bea4524a257dcb0811","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=type--decimal-3e6d4b","json":"https://demonhunterlabs.com/reference/items/type--decimal-3e6d4b.json","markdown":"https://demonhunterlabs.com/reference/text/type--decimal-3e6d4b.md"}
