Errors When Building A Financial Application

4 Errors I Made When Building A Financial Application

The disadvantage of working with integers is also that it has a limit of 2147483647 which is roughly € 21,474,836.47. Although with the euro you probably wouldn’t run into this issue quickly but with the Vietnamese Dong, this wouldn’t work. Learnings: use decimals (not floats!) in MySQL to store monetary values. Depending on how many decimals you need decimal(15,2) oftentimes is enough.

Using React and jQuery Together

If on the other hand, you have one of those “legacy” applications that has “customers” and makes “money,” and for some reason your boss is not into the idea of you spending a few weeks rewriting the whole front end in React, but you still want in on that declarative React goodness, you may have to figure out how to get React to play well with jQuery or something similar.

If jQuery is making DOM changes that React doesn’t know about, some node that gets reused might be in an unexpected state.