change the app memory type to integer

the memory of app is Integer type,so we need change the type from double to Integerif not ,we will always get zero value.