Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6859 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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.

This topic is 6859 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.