Java Minute Convert convertHoursToMinutes(Double hours)

Here you can find the source of convertHoursToMinutes(Double hours)

Description

convert Hours To Minutes

License

Open Source License

Declaration

public static Long convertHoursToMinutes(Double hours) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static Long convertHoursToMinutes(Double hours) {
        if (hours == null) {
            return 0L;
        } else {/*ww w .  jav  a2  s  . c  om*/
            return Math.round(hours * 60);
        }

    }
}

Related

  1. convertDegreeMinuteSecond(double degree, double minute, double second)
  2. convertHoursMinutesSecondsToSeconds(String offset)
  3. convertHoursToMinutes(final int hours)
  4. convertMillisToHoursMinutesSeconds(long offset)
  5. convertMinute(String targetHhMm)
  6. convertMinuteSecond(double minute, double second)