protected double tokenToDouble(List recordList,int index,double def,boolean swapSign){
  Double ret=tokenToDouble(recordList,index,def);
  return swapSign ? -1 * ret : ret;
}

protected double tokenToDouble ( List recordList , int index , double def , boolean swapSign ) { Double ret = tokenToDouble ( recordList , index , def ) ; return swapSign ? - 1 * ret : ret ; }
scope object to double if it ' s a number , or return default . swap the sign if needed , if east is supposed to be a negative number . if anything goes wrong the default is returned .
