java and BigDecimal -


this question has answer here:

i check if variable bigdecimal, there method that?

my code:

private keystroketextfield myrate;  // how can check if myrate.gettext() bigdecimal? bifdecimal test = myrate.gettext(); 

try create bigdecimal (meaning, call bigdecimal constructor) using text. wrap call inside try/catch.


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -