Java KMH Convert kmhToMps(Double kmh)

Here you can find the source of kmhToMps(Double kmh)

Description

Converts kilometers per hour to meter per seconds.

License

Open Source License

Declaration

public static Double kmhToMps(Double kmh) 

Method Source Code

//package com.java2s;
/**//w w  w . j  a va2s. c o m
 * Copyright (c) 2010-2016, openHAB.org and others.
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 */

public class Main {
    /**
     * Converts kilometers per hour to meter per seconds.
     */
    public static Double kmhToMps(Double kmh) {
        if (kmh == null) {
            return null;
        }
        return kmh * 0.277777778;
    }
}

Related

  1. kmh2ms(double kmh)
  2. kmhToKnots(Double kmh)
  3. kmhToMs(long kmh)
  4. knotsToKmh(Double knots)
  5. kntsToKmh(int knots)
  6. msToKmh(final float ms)