Here you can find the source of toCentiSeconds(float t)
public static int toCentiSeconds(float t)
//package com.java2s; //License from project: Open Source License public class Main { public static int toCentiSeconds(float t) { return (int) (t / 10); }//from ww w . j a va2s. co m }