On Tuesday, August 18, 2015 at 12:02:36 PM UTC-4, Matt Bauman wrote: > > `float` is an interesting case as it's regularly used to generically mean: > convert to a floating point number *OR* a complex number with floating > point components, so that's why it's still here but `int` isn't. >
float(x) means "give me the floating-point version of x". It works on any kind of number, but also on arrays and potentially other containers.