•  

I See Your 127.32+, A Tale of Rationals

A session at EuRuKo 2013

Friday 28th June, 2013

2:00pm to 3:00pm (AMT)

Money, be careful with money. While developing a brand new website for online betting I found the requirements related to the flow of money were just not possible to implement with traditional datatypes. There were fundamental features that no matter your precision, would just not work correctly. After reflecting on the feature set, we ended up resorting to fractions. In this talk I'll explain how we integrated rationals in the full stack, from JavaScript down to PostgreSQL, going via Active Record. An interesting journey that ends with all cents under control, and me sleeping very well at night.

About the speaker

This person is speaking at this event.
Xavier Noria

Everlasting student, Rails core team, Ruby Hero, with a wonderful daughter, Kinesis keyboard user, Segway glider, Gold Winger, I also breathe bio from Twitter

Sign in to add slides, notes or videos to this session

EuRuKo 2013

Greece Greece, Athens

28th29th June 2013

Tell your friends!

When

Time 2:00pm3:00pm AMT

Date Fri 28th June 2013

Short URL

lanyrd.com/schykd

Official event site

euruko2013.org

View the schedule

Share

See something wrong?

Report an issue with this session