double to string java format code example Example: double to string java double number = -895.25; String numberAsString = String.valueOf(number);