![](https://secure.gravatar.com/avatar/b94911efbb8cb045754df26a7836e6e2.jpg?s=120&d=mm&r=g)
15 May
2012
15 May
'12
8:17 a.m.
Looking at some cctbx C++ code, I note use of syntax like int i = 1234; double d = static_cast<double>(i); How is this different or indeed preferable to double d = double(i); or d = i; ? Phil