Decimal operation

2023-11-03 Thread nelsonqt
Nice - thanks for that

Decimal operation

2023-11-03 Thread nelsonqt
Hi I've been learning nim and playing around with decimal from : I'm written some sample code below to calulate a finance thing called weighted average cost of capital. In the example below I wanted to round decimal to 0.733 and then convert that to

Mastering Nim 2.0

2023-10-30 Thread nelsonqt
I bought the paperback book from uk Amazon and can confirm it is the second edition - the publish date and cover image is for 1st edition which threw me !

Mastering Nim 2.0

2023-10-22 Thread nelsonqt
It looks like the paperback version available on Amazon UK is the first edition. [https://www.amazon.co.uk/Mastering-Nim-complete-programming-language/dp/B0B4R7B9YX/ref=tmm_pap_swatch_0?_encoding=UTF8&qid=&sr](https://www.amazon.co.uk/Mastering-Nim-complete-programming-language/dp/B0B4R7B9YX/ref=t