Here you can find the source of getBigInteger(String value)
Parameter | Description |
---|---|
value | a parameter |
public static BigInteger getBigInteger(String value)
//package com.java2s; // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt import java.math.BigInteger; public class Main { /**//www . ja va 2 s. c o m * Get big integer from a string. * * @param value * @return big integer instance , or null if numer format exception occurrs. */ public static BigInteger getBigInteger(String value) { BigInteger bint = null; try { bint = new BigInteger(value); } catch (NumberFormatException e) { return null; } return bint; } }