intToInt

private fnDst intToInt(Dst, V)(V v)

Checked integer-to-integer conversion.

Parameters

Dstinteger destination type.
Vlong or ulong carrying the source value.
vthe source value.

Returns

The range-checked conversion.

Throws

VarException when v does not fit Dst.