Learning Ruby playing a game

A game I found that will help you learning ruby

So, I was thinking it would be cool if there was a game to learn Ruby. Games are good for learning, because the more interesting the material is, the more likely it will be retained.

Continue reading Learning Ruby playing a game

How to use decimal with mongodb and .NET C#

MongoDB doesn’t support decimal. How can we use it to represent money? This article will explain it to you.

When working with money we need to be concerned with the accuracy of the data as well as the calculations we do. Imagine that you have an ecommerce website with a feature that allows users to have a credit balance on their accounts. One user has 86.25€ and had just spend 86.24€. We expect him to be left with 0.01. But is he?

Continue reading How to use decimal with mongodb and .NET C#


© 2022. All rights reserved.

Powered by Hydejack v6.3.0