java and BigDecimal -
this question has answer here:
- safe string bigdecimal conversion 9 answers
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
Post a Comment