К содержимому
onsuggest
Войти
Статья en

I Need your Help to Improve Money Formatting on the Internet

Источник: Smagin ·

I noticed the other day that a popular ruby library for all things money, Money , formats Serbian Dinar incorrectly. I spent several evenings to learn and describe what the correct formatting would be and how to achieve that. The answer requires croudsourcing, which you probably figured already. TL;DR: Unicode categorised it all; ECMA 402 contains lots of wisdom; if you make a money formatting library, make sure it uses CLDR; if you know about a less popular currency or language more than most, check if CLDR is correct. Update 10.01.2026: most of the PRs I mentioned are merged now, thanks ever

Что такое I Need your Help to Improve Money Formatting on the Internet?

I Need your Help to Improve Money Formatting on the Internet is a статья discovery curated from Smagin. I noticed the other day that a popular ruby library for all things money, Money , formats Serbian Dinar incorrectly. I spent several evenings to learn and describe what the correct

Как получить доступ или попробовать?

You can experience this content directly on its original host (Smagin) by clicking the "Open Original" button.

Откуда этот контент?

Curated from Smagin by the OnSuggest team to surface the most interesting and serendipitous content on the web.

Статья

Calling the Obsidian CLI from WSL

I can access the Obsidian CLI from my Windows Subsystem for Linux and interact directly with The Quantum Garden Vault . The format of the command is: /mnt/c/Users/<user>/AppData/Local/Programs/Obsidian/Obsidian.com [cmd] which I've mapped to the environment variable $OBSIDIAN_CLI . My site-generation process has a pre-build step which does two things. It captures all the latest Webmentions and it creates a thumbnail file for every image in atlas/assets/covers . I want to make use of this to convert all JPG / PNG cover files to WebP , then create the thumbnail. The problem I have is the origina

The Quantum Garden Подробнее →
Статья

The Knot Inside the Identity

In 1912, a 24-year-old clerk at the Madras Port Trust mailed pages of mathematics to strangers in England. Ramanujan had no degree, no academic post, and no proofs — just formulas, written out by hand, that he believed were true. Most went nowhere. One reached G. H. Hardy at Cambridge, who recognized a mathematician of the highest quality.

The Code Room Подробнее →
Статья · Культура и идеи

The History of San Francisco

Podcast Transcript Few cities in the world have experienced as many dramatic transformations as one American city on the Pacific coast. What began as a small colonial outpost became a boomtown almost overnight, attracting fortune seekers from around the world. It would endure devastating earthquakes, catastrophic fires, economic upheavals, and cultural revolutions, repeatedly reinventing itself ... Read more

Everything Everywhere Подробнее →

Горячие клавиши

Предыдущее открытие
←P
Следующее открытие
→N
Нравится
L
Не для меня
X
Сохранить
S
Показать эту справку
?
Закрыть
Esc

Горячие клавиши работают на странице открытий.