Android Open Source - TrackEveryPenny Amount Csv Format

From Project

Back to project page TrackEveryPenny.


The source code is released under:

Apache License

If you think the Android project TrackEveryPenny listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package ca.jbrains.upfp.view;
//  w  ww.  j a  va2s . c  om
import ca.jbrains.upfp.model.Amount;
import ca.jbrains.upfp.view.CsvFormat;

public class AmountCsvFormat implements CsvFormat<Amount> {
  public String format(Amount amount) {
    return String.format("%1$.2f", amount.inDollars());

Java Source Code List