Android Open Source - rex-weather Temperature Formatter






From Project

Back to project page rex-weather.

License

The source code is released under:

Copyright (c) 2014, Vy-Shane Sin Fat All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met...

If you think the Android project rex-weather listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package mu.node.rexweather.app.Helpers;

public class TemperatureFormatter {

    public static String format(float temperature) {
        return String.valueOf(Math.round(temperature)) + "";
    }
}




Java Source Code List

mu.node.rexweather.app.WeatherActivity.java
mu.node.rexweather.app.Helpers.DayFormatter.java
mu.node.rexweather.app.Helpers.TemperatureFormatter.java
mu.node.rexweather.app.Models.CurrentWeather.java
mu.node.rexweather.app.Models.WeatherForecast.java
mu.node.rexweather.app.Services.LocationService.java
mu.node.rexweather.app.Services.WeatherService.java