sorin-ionescu/itunes-scripts — pull request #1 by DaniBarca (2014-07-07 16:57:50+00:00)
Title: Solved casting error

Must round before casting to real (without decimals)->
set the_bpm to (round the_bpm_raw rounding down) as real