round method
Implementation
String round( String str, int prec ){
String ret = "";
for( int i = 0; i <= 8; i++ ){
if( i != 0 ){
ret += " ";
}
MPData a = MPData();
mp.fset( a, mp.F( str ) );
mp.fround( a, prec, i );
String tmp = mp.fnum2str( a, prec );
ret += tmp;
}
return ret;
}