I have citation issuing android app that an end user can enter values then 'store' them as defaults, so the next time they go to issue a citation, the default values are prepopulated...
i am able to store a BigDecimal[]
to String[]
but I'm having the hardest time getting the String[]
back into BigDecimal[]
can anyone help me please?
for(int i=0;i<3;i++){
edit.putString(SOMETHING[i], String.valueOf(aSomething.getOtherThing(i)));
}
this works to store it as string but I cant get it back to BigDecimal, i've tried this, among other things:
for(int i=0;i<3;i++){
aSomething.setOtherThing(BigDecimal.valueOf(SOMETHING[i]));
}
thank you!