private static String intPart ( String str ) { return str . indexOf ( JAVA_DECIMAL_POINT ) > 0 ? str . substring ( 0 , str . indexOf ( JAVA_DECIMAL_POINT ) ) : str ; }
Removes the fractional part from a numeric s string representation .