CSC/ECE 517 Fall 2011/ch7 7a kr

From Expertiza_Wiki
Revision as of 20:43, 1 December 2011 by Rpgodbol (talk | contribs)
Jump to navigation Jump to search

CSC/ECE 517 Fall 2011/ch7 7a kr

Introduction

A common task in real world application programs is conducting operations on and manipulating money values. The base data type used to represent money can be one of several possible implementations. Object oriented languages have the ability to represent this information using classes. Primitive data types such as integers, floating point numbers can also be used to represent money. There are certain inherent advantages and disadvantages with each of these methods of representation. This wiki article explores these different implementations and analyzes their relative merits and demerits. We also focus on the various operations that can be performed with money values and analyze how different languages and schemes help while working with money values.