Skip to content

Commit

Permalink
fixing comment
Browse files Browse the repository at this point in the history
  • Loading branch information
CaylaSavitzky committed Sep 12, 2024
1 parent 2c8a41d commit b80de85
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@

import org.onebusaway.csv_entities.schema.DecimalFieldMappingFactory;

import java.util.Locale;

public class CurrencyMappingFactory extends DecimalFieldMappingFactory {
public CurrencyMappingFactory() {
/**
* We override the default locale to en_US so that we always use "." as the
* decimal separator, even in locales that default to using "," insteaad.
* Java Decimal format converts this to 'up to 40 digits before decimal
* and exactly two digits after decimal.
*
* DecimalFieldMappingFactory ignores locale if not provided
*
*/
super("#######################################.00", null);
}
Expand Down

0 comments on commit b80de85

Please sign in to comment.