Tutorial 1: currentValue = lround(slider.value) causes Build fail on p60

on p57 we’re told to use:
currentValue = lround(slider.value)
but then when I tried to run on p60 it gave the error:
"cannot convert ‘Float’ to expected argument type ‘Double’ and suggests the line be fixed to:
currentValue = lround(Double(slider.value))
which does indeed allow the program to run

What version of Xcode are you using?

Oh, I see what went wrong now: you’re supposed to write lroundf(...), not lround (so add the f).

Now I see why they are called bugs: small and require skill to catch.