Mega Code Archive

 
Categories / Android / Date Type
 

Gives the fractional part of a number

public class Main{   //   // Frac: Gives the fractional part of a number   static double Frac(double x) {     return x - (long) x;   } }