My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
package com.extensiblejava.audit.audit2;

import com.extensiblejava.audit.*;
import java.math.*;

public class AuditFacade2 implements AuditFacade {
public BigDecimal audit(Auditable auditable) {
BigDecimal amount = auditable.getAmount();
BigDecimal auditedAmount = amount.multiply(new BigDecimal("0.85"));
return auditedAmount.setScale(2);
}
}

Change log

r71 by pragkirk on Nov 5, 2009   Diff
Initial Version
Go to: 
Project members, sign in to write a code review

Older revisions

All revisions of this file

File info

Size: 363 bytes, 12 lines
Powered by Google Project Hosting