These comparison operators can be used in If, Then, and Select statements in Check Code and Analysis programs. The “zero day” for date math is December 30, 1899. The last two rules apply as well to other math operations: -, *, /, ^ For doing date math, the following rules apply: While it is possible to do date math with dates considered as a number of days (e.g., IncubationDays = SymptomDateTime – ExposureDateTime), the behavior of the database services underlying Epi Info makes it more efficient to use time interval functions (e.g., IncubationDays = MINUTES(ExposureDateTime, Symptom DateTime)/). The default order, however, frequently achieves the correct result. Parentheses can be used to control the order in which operators are evaluated. Division / Basic arithmetic operator used for division the result of an arithmetic operator is usually a numeric value.Īrithmetic operators are shown in descending order of precedence.Multiplication * (Asterisk) Basic arithmetic operator used for multiplication the result of an arithmetic operator is usually a numeric value.Subtraction – (Used for subtraction or negation.) Basic arithmetic operator used for subtraction or negation the result of an arithmetic operator is usually a numeric value (i.e., EX.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |