id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc 5478,gdal_calc.py gives different answers depending on type of multiplier,timcera,warmerdam,"Discovered an interesting problem with gdal_calc.py The following gives incorrect answers: {{{ gdal_calc.py -A wg.tif -B lc.vrt --outfile=lue.vrt --calc=A*20+B }}} But the following works fine: {{{ gdal_calc.py -A wg.tif -B lc.vrt --outfile=lue.vrt --calc=A*20.0+B }}} Just shifting the 20 from integer to float did the trick. The 'wg.tif' and 'lc.vrt' are Byte.",defect,closed,normal,closed_because_of_github_migration,default,unspecified,normal,wontfix,,