getNumberFromString

public static N getNumberFromString<N extends Number>(String s, Function<String, N> parser)