Skip to content

inevs/MoneyObject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MoneyObject

Introduction

A Swift Library for dealing with money. It is inspired by this Ruby Library

Features

Provides a Money struct which encapsulates all information about an certain amount of money, such as its value and its currency.

Provides a Currency struct which encapsulates all information about a monetary unit.

Represents monetary values as integers, in cents. This avoids floating point rounding errors. The cents is the minor currency value. It currently does not support currencies with other exponents than 2 (see Wikipedia ISO 4217)

About

A Swift Library for dealing with money.

Resources

Stars

Watchers

Forks

Packages

No packages published