# Difference between revisions of "CLNG"

Jump to navigation
Jump to search

Line 1: | Line 1: | ||

− | The ''CLNG'' function rounds decimal point numbers up or down to the nearest integer value. Values greater than .5 are rounded up; .5 or lower are rounded down just like "bankers rounding". | + | The ''CLNG'' function rounds decimal point numbers up or down to the nearest Long integer value. Values greater than .5 are rounded up; .5 or lower are rounded down just like "bankers rounding". |

## Revision as of 06:10, 28 August 2009

The *CLNG* function rounds decimal point numbers up or down to the nearest Long integer value. Values greater than .5 are rounded up; .5 or lower are rounded down just like "bankers rounding".

Useage: a% = CLNG(DecimalPointNumber#)

*Example:* a% = CLNG(2345678.51)

*Results:* a% = 2345679