Java floor floor(String input)

Here you can find the source of floor(String input)

Description

floor

License

Apache License

Declaration

public static String floor(String input) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {

    public static String floor(String input) {
        Double d = Double.parseDouble(input);
        return String.valueOf(Math.floor(d));
    }/*from w w w . j a v a 2s  .com*/
}

Related

  1. floor(int f)
  2. floor(int number, int divisor)
  3. floor(int x, int quantum)
  4. floor(Integer a)
  5. Floor(Object in, int val)
  6. floor10(double a)
  7. floor1e5(double coordinate)
  8. floor2(int a, int preserveDigits)
  9. floor_double(double a)