MySpace interview question

What's 5/2 in MySQL ?

Interview Answers

Anonymous

28 Apr 2009

2.5 is wrong according to MySpace

Anonymous

13 Mar 2010

may they expect it to be 2.5000 ?

Anonymous

24 July 2011

5/2 = 2 it will assume integer division

Anonymous

9 Jan 2015

You have 5 digits of which 2 are decimals Ex: 123.45