Here you can find the source of decimalScaleTime(int value, int max)
public static double decimalScaleTime(int value, int max)
//package com.java2s; //License from project: Apache License public class Main { public static double decimalScaleTime(int value, int max) { return (((double) value) / max); }/*w w w. j a v a2 s.co m*/ }