CSC/ECE 517 Fall 2011/ch7 7a kr: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
(CSC/ECE 517 Fall 2011/ch7 7a kr)
 
No edit summary
Line 1: Line 1:
CSC/ECE 517 Fall 2011/ch7 7a kr
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.

Revision as of 20:43, 1 December 2011

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.