# Scale factor for EVI in Google Earth Engine

I'm new to GEE. I'm working on EVI data analysis. So this is my code for MODIS evi. I want to know how to multiply all the images there inside ImageCollection by scale factor 0.0001 to get real EVI values. Because my values are -2000, 10000

How do I get this work done?

``````var clipper = function(image){
return image.clip(sureste);
};

print(sureste);

var modis = ee.ImageCollection('MODIS/006/MOD13Q1')
.map(clipper);
var months = ee.List.sequence(1,12);

// Group by month, and then reduce within groups by mean();
// the result is an ImageCollection with one image for each
// month.

var byMonth = ee.ImageCollection.fromImages(
months.map(function(m) {
return modis.filter(ee.Filter.calendarRange(m, m, 'month'))
.filterBounds(sureste)
.select('EVI').mean().multiply()
.set('month', m);
}));

print("Monthly images",byMonth);
``````

Following script, with arbitrary geometry sureste, prints values of EVI in Inspector Tab multiplied by 0.0001.

``````var sureste =
/* color: #d63000 */
/* displayProperties: [
{
"type": "rectangle"
}
] */
ee.Geometry.Polygon(
[[[-101.8302490234375, 22.848114623774645],
[-101.8302490234375, 22.376523536444807],
[-100.7755615234375, 22.376523536444807],
[-100.7755615234375, 22.848114623774645]]], null, false);
var clipper = function(image){
return image.clip(sureste);
};

var clipper = function(image){
return image.clip(sureste);
};

Map.centerObject(sureste);
print(sureste);

var modis = ee.ImageCollection('MODIS/006/MOD13Q1')
.map(clipper);
var months = ee.List.sequence(1,12);

// Group by month, and then reduce within groups by mean();
// the result is an ImageCollection with one image for each
// month.

var byMonth = ee.ImageCollection.fromImages(
months.map(function(m) {
return modis.filter(ee.Filter.calendarRange(m, m, 'month'))
.filterBounds(sureste)
.select('EVI').mean().multiply(0.0001)
.set('month', m);
}));

var vis = {min: 0.0926025, max: 0.2744175, palette: [
'FFFFFF', 'CE7E45', 'FCD163', '66A000', '207401',
'056201', '004C00', '023B01', '012E01', '011301'
]};

print("Monthly images",byMonth);