How Some Math Methods Handle the Data Type

Some math methods provide a different return value depending on the following data types of the variable that contains the return value:

  • Integer or currency. The return value is a single-precision number.

  • A single-precision value. The return value is a single-precision number.

  • Long or variant. The return value is a double-precision value.

  • A double-precision value. The return value is a double-precision value.

These methods are noted in this chapter, where appropriate.