I was wondering if someone could help me with a meterology calculation. I am converting a Dbase V program to Access and I have been successful moving most of the calculations but this one has me stumped.
In some test data I have from the old system I am given that X_WTR_TEMP = 48.8 which would make TMP_C = 9.33333333. In the table on the old system I can see that the result for x_wtr_dens = 0.99975492891.
What do the double astricks ** mean? If I have a field on a form for x_wtr_dens what would I need to put in the control source to get the correct answer?
STORE (M->X_WTR_TEMP - 32) * 5 / 9 TO M->TMP_C
STORE (999.84 + .067983 * M->TMP_C ;
- .00910603 * M->TMP_C ** 2 ;
+ .000100537 * M->TMP_C ** 3 ;
- .00000112671 * M->TMP_C ** 4 ;
+ .0000000065918 * M->TMP_C ** 5) / 1000;
TO M-X_WTR_DENS
Thank you in advance for any help. GGuy
In some test data I have from the old system I am given that X_WTR_TEMP = 48.8 which would make TMP_C = 9.33333333. In the table on the old system I can see that the result for x_wtr_dens = 0.99975492891.
What do the double astricks ** mean? If I have a field on a form for x_wtr_dens what would I need to put in the control source to get the correct answer?
STORE (M->X_WTR_TEMP - 32) * 5 / 9 TO M->TMP_C
STORE (999.84 + .067983 * M->TMP_C ;
- .00910603 * M->TMP_C ** 2 ;
+ .000100537 * M->TMP_C ** 3 ;
- .00000112671 * M->TMP_C ** 4 ;
+ .0000000065918 * M->TMP_C ** 5) / 1000;
TO M-X_WTR_DENS
Thank you in advance for any help. GGuy