tandemdrive / ocpi-tariffs

OCPI tariff calculations
Apache License 2.0
38 stars 9 forks source link

Serialize numeric types with rounding as OCPI specifies. #45

Closed remkop22 closed 1 year ago

remkop22 commented 1 year ago

OCPI specifies that all numbers otherwise mentioned should be rounded to 4 decimals.

When serializing tariffs, cdr's or reports we should follow this.