double to Double getCost conversion
Merge branch 'master' into stable