February 3, 200619 yr Okay, then maybe this is better. Let ( [ Amount = Round ( Amount ; 2 ) ; A = Int ( Amount ) ; L = Length ( A ) ; R = If ( Amount > A ; Left ( Amount - A & "000" ; 3 ) ; ".00" ) ] ; "$ " & Case ( L=9 ; Left(A;3) &","& Middle(A;4;3) &","& Right(A;3) ; L=8 ; Left(A;2) &","& Middle(A;4;3) &","& Right(A;3) ; L=7 ; Left(A;1) &","& Middle(A;4;3) &","& Right(A;3) ; L=6 ; Left(A;3) &","& Right(A;3) ; L=5 ; Left(A;2) &","& Right(A;3) ; L=4 ; Left(A;1) &","& Right(A;3) ; A ) //end Case & R ) //end Let Lee [color:Blue]I usually have record of who contributed these calculation, but I didn't in this case. Sorry.
Create an account or sign in to comment