DB design document
Dave Peticolas
dave@krondo.com
Thu, 14 Dec 2000 14:46:43 -0800
Phillip J Shelton writes:
> David Merrill wrote:
>
> I am very sorry. I seem to have managed to badly mis-represent the data
> structures to every one. It appears that there are two ideas of what each na
> means.
>
> Could someone who knows please help me to understand how the data structures
> work?
>
> This is my present understanding.
>
> value/damount is not a structure. It is two `numbers` both of which are of t
> gnc_numeric.
>
> value is the curency field and contains the cash value of the split. Its
> numerator is the number of cash units that this thing is worth, in the smalle
> unit of cash that you can own, and the _scu is the demoniator and is how many
> the smallest units make up the standard measure.
>
> damount is the security field and contains the number of things when you are
> trying to count things that are not the same as the stuff that is being count
> in the currency field.
Yep, that's right.
dave