I need to set a table field to accept time in minutes, seconds and 1/10000 of
a second. How do I go about this and if possible do calculations on this
field. Example 1:23.4567
I'd use, oddly enough, aCurrencydatatype for this.
Currencyis a scaled huge integer with four (and exactly four)decimal
places, and no roundoff error. Your example would be stored as
seconds: 83.4567. You can display it as minutes and seconds using an
expression like
[duration] \ 60 & Format([duration] - 60*([duration] \ 60),
":00.0000")
A Double Float datatype would be another possibility, but runs the
risk that calculated durations (sums, say) might differ in the
thirteenth or fourteenthdecimalplace, and that one 1:23.4567 might
be seen as being *unequal* to another 1:23.4567, because one is being
stored as 83.4566999999993 and the other as 83.45670000000002.