[IMG]C:\Documents and Settings\as\桌面\snap.bmp[/IMG]
在報表中 computed object 計算 ,欄位 fin_detail_amt
分: if ( pos(string( fin_detail_amt ),".") = 0 and mid( string( fin_detail_amt ),1,1) = '0 ' , ' ', if ( pos(string( fin_detail_amt ),".") >0, mid( string( fin_detail_amt ),pos(string( fin_detail_amt ),".")+2,1), ' 0 '))
角:if ( pos(string( fin_detail_amt ),".") = 0 and mid( string( fin_detail_amt ),1,1) = '0 ' , ' ', if ( pos(string( fin_detail_amt ),".") >0, mid( string( fin_detail_amt ),pos(string( fin_detail_amt ),".")+1,1), ' 0 '))
元:if ( pos(string( fin_detail_amt ),".") = 0 and mid( string( fin_detail_amt ),1,1) = '0 ' , ' ', if ( pos(string( fin_detail_amt ),".") >0, mid( string( fin_detail_amt ),pos(string( fin_detail_amt ),".")+2,1), ' 0 '))
next (太多啦)