GoMoney provides ability to work with monetary value using a currency's smallest unit. This package provides basic and precise Money operations such as rounding, splitting and allocating. Monetary values should not be stored as floats due to small rounding differences.

Features

  • Provides a Money struct which stores information about an Money amount value and its currency
  • Provides a Money.Amount struct which encapsulates all information about a monetary unit
  • Represents monetary values as integers, in cents. This avoids floating point rounding errors
  • Represents currency as Money.Currency instances providing a high level of flexibility
  • Initialize Money by using smallest unit value
  • Go-money provides base compare operations like equals, greater than, greater than or equal

Project Samples

Project Activity

See All Activity >

Categories

Code Formatters

License

MIT License

Follow Money

Money Web Site

Other Useful Business Software
Skillfully - The future of skills based hiring Icon
Skillfully - The future of skills based hiring

Realistic Workplace Simulations that Show Applicant Skills in Action

Skillfully transforms hiring through AI-powered skill simulations that show you how candidates actually perform before you hire them. Our platform helps companies cut through AI-generated resumes and rehearsed interviews by validating real capabilities in action. Through dynamic job specific simulations and skill-based assessments, companies like Bloomberg and McKinsey have cut screening time by 50% while dramatically improving hire quality.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Money!

Additional Project Details

Programming Language

Go

Related Categories

Go Code Formatters

Registered

2023-04-25