-
Kizdar net |
Kizdar net |
Кыздар Нет
Nim forum
Nim forum ... Nim forum
Formatting a float to currency - Nim forum
The API is indeed a bit "English-centric". The documentation for strutils.formatFloat () allows the user to specify the separator between the integer and rational part of a number via the decimalSep parameter. While English speaking countries use the format 12,345.78, Germans switch the comma and period (not just in the context of money), i.e. 12.345,78. It shouldn't be …
Nim forum
Forum użytkowników języka programowania Nim, miejsce do zadawania pytań, dzielenia się wiedzą i dyskusji na temat Nim.
{.nimcall.} and {.closure.} - Nim forum
As you can see, the returned proc changes it's behaviour depending on the context it was created in, thus it needs two pointers two store the function. It's not always desirable to have this overhead, this is why procs which don't capture anything are set to the non closure calling convention (like start and update in your example). It is possible to store a reference to a non …
Announce: LimDB, a fast, persistent table with LMDB under the …
Hello everyone, I would like to announce LimDB, a table-like interface to LMDB that allows you to persist data to disk using memory-mapped files and full database semantics uniquely easily. It is based on the really great nim-lmdb wrapper. Thanks, Federico! And of course, Howard, Andreas and contributors. It works like so: # save.nim import limdb let db = initDatabase("myDirectory") …
I wish more of you posted on reddit /r/nim - Nim forum
Some of the same hot topics posted here, posted there (ex.: type constructors was a big discussion) Just my opinion as I'm still learning nim rapidly, but I still don't know/I'm still not good enough to post the content I want to see posted on reddit yet. (PS: Someone approve my PR for forum visited links css change)