Cast range to Number instead of Double