Here you can find the source of parseTo_BigDecimal(String s)
public static BigDecimal parseTo_BigDecimal(String s)
//package com.java2s; // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt import java.math.BigDecimal; public class Main { public static BigDecimal parseTo_BigDecimal(String s) { if (s == null) { return null; }/*ww w. j a v a 2 s .co m*/ try { return new BigDecimal(s); } catch (NumberFormatException nfe) { if (nfe.getMessage() == null) { throw new NumberFormatException("Incorrect input \"" + s + "\" for BigDecimal."); } else { throw nfe; } } } }