Rounding errors and floating point in Java: what finance needs to know
IEEE 754, error accumulation, cancellation, double rounding, tolerance comparisons, Apache Commons Math and reproducible results.
Developer corner
Tutorials written by our consultants for Java developers in banking and insurance: code that compiles, the pitfalls we meet on assignments and the business rules behind them. A new tutorial every month.
The tutorials' tested code, free to use, is on GitHub (Apache 2.0 licence).
IEEE 754, error accumulation, cancellation, double rounding, tolerance comparisons, Apache Commons Math and reproducible results.
A payments API that never debits twice: validation, idempotency key, transaction, outbox to Kafka, ProblemDetail and Testcontainers tests.
BigDecimal or double: when to use which, rounding a BigDecimal, splitting an amount to the cent, the Money API (JSR 354), storage and JSON.
TARGET and Paris calendars, T+2 value dates, Modified Following, ACT/360 and 30/360, schedules: the open-source OpenGamma Strata library.
Inventory with jdeps, removed Java EE modules, javax to jakarta, OpenRewrite, UTF-8 and locale data: the step-by-step method and the pitfalls.
Parallel calls, a multi-threaded Kafka consumer, Spring Boot and Quarkus, protecting the database, pinning, ScopedValue: a practical guide.
What DORA changes in the code: timeouts, circuit breaker and retries with Resilience4j, detection, resilience testing and dependencies.
An assistant that answers from your internal procedures and cites its sources, with LangChain4j and a self-hosted model, then the road to production.
Reuse a C++ pricing engine without JNI: extern C, Linker, MemorySegment, jextract, and the rules that keep the JVM from crashing.
We hire consultants who love code as much as the business of banking and insurance. And if you need help on one of these topics, our teams can work on your projects.