- TIBCO BusinessEvents®
- Standard
- Number

# Number.valueOfLong()

## Signature

`int valueOfLong (long l)`

## Domain

ACTION, CONDITION, QUERY, BUI

## Description

Returns the value of the long passed in (l) as an int. The high order bits are simply truncated which can result in sign reversal.

## Parameters

Name | Type | Description
--- | --- | ---
`l` | `long` | A long that will be returned as an int.

## Returns

Type | Description
--- | ---
`int` | The value of the long passed in (`l`) as an int.

## Cautions

The high order bits are simply truncated which can result in sign reversal.

## See Also

java.lang.Long