PathrockNetwork Gno Explorer
HomeBlocksTransactionsRealmsPackagesValidatorsAnalytics

PathrockNetwork Gno Explorer — an independent explorer for Gno.land Mainnet (gnoland-1), operated by PathrockNetwork. Not an official Gno.land service.

gnowebarchive RPC

gno.land/r/moul/x/daily/humanizedemo/v0

Realm
Open in gnoweb ↗

Overview

Kind
Realm (renderable)
Name
v0
Namespace
moul / x / daily / humanizedemo
Files
3 (README)(gnomod.toml)
Exported functions
1
Module
gno.land/r/moul/x/daily/humanizedemo/v0
gno
0.9

Files (3)

  • README.mdmarkdown
  • gnomod.tomltoml
  • humanizedemo.gnogno

Select a file to view its exact on-chain source. Sorted README → gnomod → sources → tests.

Functions

  • Render(path string) string

Signatures reconstructed verbatim from vm/qfuncs — interface params keep their inline definitions.

Rendered

RenderedRawgnoweb ↗
# Humanize

Integer-only formatting for people, demoing the [`p/moul/x/daily/humanize`](/p/moul/x/daily/humanize/v0) library.

## Bytes

| n | rendered |
|---|---|
| `0` | 0 B |
| `999` | 999 B |
| `1024` | 1 KiB |
| `1536` | 1.5 KiB |
| `1048576` | 1 MiB |
| `1073741824` | 1 GiB |

## Thousands

| n | rendered |
|---|---|
| `0` | 0 |
| `1000` | 1,000 |
| `1234567` | 1,234,567 |

## Ordinals

`1st` · `2nd` · `3rd` · `11th` · `12th` · `13th` · `21st` · `101st`

> 11th/12th/13th, not 11st/12nd/13rd — the teens are the trap.

## Block counts

| blocks | rendered |
|---|---|
| `0` | now |
| `1` | 1 block |
| `15` | ~10 blocks |
| `1234` | ~1,200 blocks |

> Deliberately vague, and in **blocks**: there is no wall clock on chain, so "about 2 hours" would be a lie dressed as precision.

vm/qrender output, sanitized (docs/render-security.md) and displayed in an empty-sandbox iframe — scripts, forms and popups cannot run. Links stay inert in-preview; right-click to open.