..really more of an inconsistency between the actual engine and your development environment.
double num = 24.0;
String val = String.valueOf(num)
System.out.println(val)
DEVELOPMENT ENVIRONMENT
Output: 24.0
GOOGLE APP ENGINE
Output: 24
Keep Calm and Code On